mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Finaly do a poor implementation of Github.get_gists
This commit is contained in:
@@ -22,3 +22,10 @@ class Github:
|
||||
|
||||
def get_gist( self, id ):
|
||||
return Gist( self, { "id": id }, lazy = False )
|
||||
|
||||
def get_gists( self ):
|
||||
return [
|
||||
Gist( self, attributes, lazy = True )
|
||||
for attributes
|
||||
in self._dataRequest( "GET", "/gists/public", None, None )
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user