mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 11:21:16 +00:00
Test Download and CommitComment
This commit is contained in:
@@ -59,12 +59,10 @@ class Commit( object ):
|
||||
self.__completeIfNeeded( self.__url )
|
||||
return self.__url
|
||||
|
||||
def create_comment( self, body, commit_id = DefaultValueForOptionalParameters, line = DefaultValueForOptionalParameters, path = DefaultValueForOptionalParameters, position = DefaultValueForOptionalParameters ):
|
||||
def create_comment( self, body, line = DefaultValueForOptionalParameters, path = DefaultValueForOptionalParameters, position = DefaultValueForOptionalParameters ):
|
||||
post_parameters = {
|
||||
"body": body,
|
||||
}
|
||||
if commit_id is not DefaultValueForOptionalParameters:
|
||||
post_parameters[ "commit_id" ] = commit_id
|
||||
if line is not DefaultValueForOptionalParameters:
|
||||
post_parameters[ "line" ] = line
|
||||
if path is not DefaultValueForOptionalParameters:
|
||||
|
||||
Reference in New Issue
Block a user