mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
On the way to alternative inputs. Still needs unit and integration testing
This commit is contained in:
@@ -134,6 +134,6 @@ Repository._addAttributePolicy( SeveralAttributePolicies( [
|
||||
ExternalListOfObjects( "pulls", "pull", PullRequest,
|
||||
ListGetable( Parameters( [], [ "state" ] ), __modifyAttributesForObjectsReferingRepo ),
|
||||
ElementGetable( Parameters( [ "number" ], [] ), __modifyAttributesForObjectsReferingRepo ),
|
||||
ElementCreatable( Parameters( [ "title", "body", "base", "head" ], [] ), __modifyAttributesForObjectsReferingRepo ),
|
||||
ElementCreatable( Alternative( Parameters( [ "title", "body", "base", "head" ], [] ), Parameters( [ "issue", "base", "head" ], [] ) ), __modifyAttributesForObjectsReferingRepo ),
|
||||
),
|
||||
] ) )
|
||||
|
||||
Reference in New Issue
Block a user