mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Fix stubs file for Repository
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user