Fix stubs file for Repository

This commit is contained in:
Pascal Hofmann
2020-11-30 08:53:59 +01:00
parent 951fcdf23f
commit fab682a5cc
+4 -1
View File
@@ -259,6 +259,8 @@ class Repository(CompletableGithubObject):
author: Union[InputGitAuthor, _NotSetType] = ...,
) -> Dict[str, Union[Commit, _NotSetType]]: ...
@property
def delete_branch_on_merge(self) -> bool: ...
@property
def deployments_url(self) -> str: ...
@property
def description(self) -> str: ...
@@ -331,7 +333,7 @@ class Repository(CompletableGithubObject):
def get_contributors(
self, anon: Union[str, _NotSetType] = ...
) -> PaginatedList[NamedUser]: ...
def get_deployment(self, id_: int) -> Any: ...
def get_deployment(self, id_: int) -> Deployment: ...
def get_deployments(
self,
sha: Union[str, _NotSetType] = ...,
@@ -351,6 +353,7 @@ class Repository(CompletableGithubObject):
) -> Repository: ...
def get_git_blob(self, sha: str) -> GitBlob: ...
def get_git_commit(self, sha: str) -> GitCommit: ...
def get_git_matching_refs(self, ref: str) -> PaginatedList[GitRef]: ...
def get_git_ref(self, ref: str) -> GitRef: ...
def get_git_refs(self) -> PaginatedList[GitRef]: ...
def get_git_tag(self, sha: str) -> GitTag: ...