mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
GithubObject.edit => restore testEditAuthenticatedUser
This commit is contained in:
@@ -67,7 +67,16 @@ class GistComment( object ):
|
||||
pass
|
||||
|
||||
def edit( self, body ):
|
||||
pass
|
||||
post_parameters = {
|
||||
"body": body,
|
||||
}
|
||||
result = self.__github._dataRequest(
|
||||
"PATCH",
|
||||
"https://api.github.com/user",
|
||||
None,
|
||||
post_parameters
|
||||
)
|
||||
self.__useAttributes( result )
|
||||
|
||||
def __useAttributes( self, attributes ):
|
||||
if "body" in attributes:
|
||||
|
||||
Reference in New Issue
Block a user