mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
AuthenticatedUser.get_issues
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ API `/gists/starred`
|
||||
|
||||
API `/issues`
|
||||
=============
|
||||
* GET: (TODO)
|
||||
* GET: `AuthenticatedUser.get_issues`
|
||||
|
||||
API `/networks/:user/:repo/events`
|
||||
==================================
|
||||
|
||||
@@ -119,6 +119,10 @@ Gists
|
||||
* `create_gist( public, files, [description] )`: `Gist`
|
||||
* `get_starred_gists()`: list of `Gist`
|
||||
|
||||
Issues
|
||||
------
|
||||
* `get_issues()`: list of `Issue`
|
||||
|
||||
Class `Authorization`
|
||||
=====================
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ from NamedUser import *
|
||||
from Organization import *
|
||||
from Repository import *
|
||||
from Gist import *
|
||||
from Issue import *
|
||||
|
||||
def __getOrganizationEvents( user, org ):
|
||||
return [
|
||||
@@ -86,4 +87,8 @@ AuthenticatedUser = GithubObject(
|
||||
url = "/gists",
|
||||
),
|
||||
MethodFromCallable( "get_starred_gists", Parameters( [], [] ), __getStaredGists, SimpleTypePolicy( "list of `Gist`" ) ),
|
||||
ExternalListOfObjects( "issues", "issue", Issue,
|
||||
ListGetable( Parameters( [], [] ) ),
|
||||
url = "/issues",
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user