AuthenticatedUser.get_issues

This commit is contained in:
Vincent Jacques
2012-03-19 07:40:52 +01:00
parent 1d2b27824d
commit bd39726f7c
3 changed files with 10 additions and 1 deletions
@@ -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",
),
)