mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-02 11:51:10 +00:00
Drop some unimplemented methods in GitRef (#1525)
There are two unimplemented methods in GitRef, which are mostly covered by Commit.get_statuses(), remove them.
This commit is contained in:
@@ -92,22 +92,6 @@ class GitRef(github.GithubObject.CompletableGithubObject):
|
||||
)
|
||||
self._useAttributes(data)
|
||||
|
||||
def get_statuses(self):
|
||||
"""
|
||||
https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref
|
||||
:calls: `GET /repos/:owner/:repo/commits/:ref/statuses`
|
||||
:return:
|
||||
"""
|
||||
pass
|
||||
|
||||
def get_status(self):
|
||||
"""
|
||||
https://developer.github.com/v3/repos/statuses/#get-the-combined-status-for-a-specific-ref
|
||||
:calls: `GET /repos/:owner/:repo/commits/:ref/status`
|
||||
:return:
|
||||
"""
|
||||
pass
|
||||
|
||||
def _initAttributes(self):
|
||||
self._object = github.GithubObject.NotSet
|
||||
self._ref = github.GithubObject.NotSet
|
||||
|
||||
Reference in New Issue
Block a user