mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Set types of many parameters
This commit is contained in:
@@ -46,6 +46,10 @@ class UserKey( object ):
|
||||
)
|
||||
|
||||
def edit( self, title = DefaultValueForOptionalParameters, key = DefaultValueForOptionalParameters ):
|
||||
if title is not DefaultValueForOptionalParameters:
|
||||
assert isinstance( title, ( str, unicode ) ), title
|
||||
if key is not DefaultValueForOptionalParameters:
|
||||
assert isinstance( key, ( str, unicode ) ), key
|
||||
post_parameters = {
|
||||
}
|
||||
if title is not DefaultValueForOptionalParameters:
|
||||
|
||||
Reference in New Issue
Block a user