mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Refactor XxxGithubObject
This commit is contained in:
@@ -16,13 +16,13 @@
|
||||
import github.GithubObject
|
||||
|
||||
|
||||
class RepositoryKey(github.GithubObject.GithubObject):
|
||||
class RepositoryKey(github.GithubObject.CompletableGithubObject):
|
||||
"""
|
||||
This class represents RepositoryKeys as returned for example by http://developer.github.com/v3/todo
|
||||
"""
|
||||
|
||||
def __init__(self, requester, attributes, completed, repoUrl):
|
||||
github.GithubObject.GithubObject.__init__(self, requester, attributes, completed)
|
||||
github.GithubObject.CompletableGithubObject.__init__(self, requester, attributes, completed)
|
||||
self.__repoUrl = repoUrl
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user