mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 03:11:09 +00:00
Generate code for complex parameters
(+ find bug in Repository.create_commit with parents !)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import GithubObject
|
||||
|
||||
class InputGitTreeElement:
|
||||
class InputGitTreeElement( object ):
|
||||
def __init__( self, path, mode, type, content = GithubObject.NotSet, sha = GithubObject.NotSet ):
|
||||
self.__path = path
|
||||
self.__mode = mode
|
||||
@@ -8,6 +8,7 @@ class InputGitTreeElement:
|
||||
self.__content = content
|
||||
self.__sha = sha
|
||||
|
||||
@property
|
||||
def _identity( self ):
|
||||
identity = {
|
||||
"path": self.__path,
|
||||
|
||||
Reference in New Issue
Block a user