mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
AuthenticatedUser.get_issues
This commit is contained in:
@@ -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