mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Fix after rebase
This commit is contained in:
@@ -188,9 +188,9 @@ Team = GithubObject(
|
||||
),
|
||||
Editable( [ "name" ], [ "permission" ] ),
|
||||
Deletable(),
|
||||
ListOfReferences( "members", NamedUser, addable = True, removable = True, hasable = True ),
|
||||
ListOfReferences( "repos", Repository, addable = True, removable = True, hasable = True ),
|
||||
ListAttribute( "members", NamedUser, ListGetable( [], [] ), ElementAddable(), ElementRemovable(), ElementHasable() ),
|
||||
ListAttribute( "repos", Repository, ListGetable( [], [] ), ElementAddable(), ElementRemovable(), ElementHasable() ),
|
||||
)
|
||||
|
||||
Organization._addAttributePolicy( ListOfObjects( "teams", Team, creatable = True, singularName = "team" ) )
|
||||
Repository._addAttributePolicy( ListOfReferences( "teams", Team ) )
|
||||
Organization._addAttributePolicy( ListAttribute( "teams", Team, ListGetable( [], [] ), ElementCreatable( "team", [ "name" ], [ "repo_names", "permission" ] ) ) )
|
||||
Repository._addAttributePolicy( ListAttribute( "teams", Team, ListGetable( [], [] ) ) )
|
||||
|
||||
Reference in New Issue
Block a user