diff --git a/github/GitRef.py b/github/GitRef.py index 36238f7d..6216fab7 100644 --- a/github/GitRef.py +++ b/github/GitRef.py @@ -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 diff --git a/github/GitRef.pyi b/github/GitRef.pyi index 09c07c37..bb4fd103 100644 --- a/github/GitRef.pyi +++ b/github/GitRef.pyi @@ -9,8 +9,6 @@ class GitRef(CompletableGithubObject): def _useAttributes(self, attributes: Dict[str, Any]) -> None: ... def delete(self) -> None: ... def edit(self, sha: str, force: Union[bool, _NotSetType] = ...) -> None: ... - def get_statuses(self) -> None: ... - def get_status(self) -> None: ... @property def object(self) -> GitObject: ... @property