This commit is contained in:
Vincent Jacques
2012-11-27 21:14:30 +01:00
parent c8c889f5a9
commit 54554b280d
61 changed files with 385 additions and 33 deletions
+15
View File
@@ -18,6 +18,21 @@ import github.GithubObject
class InputGitTreeElement(object):
def __init__(self, path, mode, type, content=github.GithubObject.NotSet, sha=github.GithubObject.NotSet):
"""
Please edit this generated docstring for method :func:`github.InputGitTreeElement.InputGitTreeElement.__init__`.
:param path: string
:param mode: string
:param type: string
:param content: string
:param sha: string
"""
assert isinstance(path, (str, unicode)), path
assert isinstance(mode, (str, unicode)), mode
assert isinstance(type, (str, unicode)), type
assert isinstance(content, (str, unicode)), content
assert isinstance(sha, (str, unicode)), sha
self.__path = path
self.__mode = mode
self.__type = type