Files
PyGithub/github/GitRef.pyi
T
Steve Kowalik d4b61311a1 Drop some unimplemented methods in GitRef (#1525)
There are two unimplemented methods in GitRef, which are mostly covered
by Commit.get_statuses(), remove them.
2020-05-20 18:31:25 +10:00

18 lines
589 B
Python

from typing import Any, Dict, Union
from github.GithubObject import CompletableGithubObject, _NotSetType
from github.GitObject import GitObject
class GitRef(CompletableGithubObject):
def __repr__(self) -> str: ...
def _initAttributes(self) -> None: ...
def _useAttributes(self, attributes: Dict[str, Any]) -> None: ...
def delete(self) -> None: ...
def edit(self, sha: str, force: Union[bool, _NotSetType] = ...) -> None: ...
@property
def object(self) -> GitObject: ...
@property
def ref(self) -> str: ...
@property
def url(self) -> str: ...