mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Automatic implementation of url_parameters
This commit is contained in:
@@ -56,8 +56,7 @@ class RepositoryKey( object ):
|
||||
assert isinstance( title, ( str, unicode ) ), title
|
||||
if key is not DefaultValueForOptionalParameters:
|
||||
assert isinstance( key, ( str, unicode ) ), key
|
||||
post_parameters = {
|
||||
}
|
||||
post_parameters = dict()
|
||||
if title is not DefaultValueForOptionalParameters:
|
||||
post_parameters[ "title" ] = title
|
||||
if key is not DefaultValueForOptionalParameters:
|
||||
|
||||
Reference in New Issue
Block a user