mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Lists with ElementGetable capacity
This commit is contained in:
@@ -80,7 +80,7 @@ Repository._addAttributePolicy( ComplexAttribute( "parent", Repository ) )
|
||||
Repository._addAttributePolicy( ComplexAttribute( "source", Repository ) )
|
||||
Repository._addAttributePolicy( ListOfReferences( "forks", Repository ) )
|
||||
|
||||
__repoCreatable = Creatable( "repo", [ "name" ], [ "description", "homepage", "private", "has_issues", "has_wiki", "has_downloads", "team_id", ] )
|
||||
__repoCreatable = ElementCreatable( "repo", [ "name" ], [ "description", "homepage", "private", "has_issues", "has_wiki", "has_downloads", "team_id", ] )
|
||||
AuthenticatedUser._addAttributePolicy( ListOfObjects( "repos", Repository, __repoCreatable ) )
|
||||
NamedUser._addAttributePolicy( ListOfObjects( "repos", Repository ) )
|
||||
Organization._addAttributePolicy( ListOfObjects( "repos", Repository, __repoCreatable ) )
|
||||
|
||||
Reference in New Issue
Block a user