Skip to content

Commit fab682a

Browse files
Fix stubs file for Repository
1 parent 951fcdf commit fab682a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

github/Repository.pyi

+4-1
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ class Repository(CompletableGithubObject):
259259
author: Union[InputGitAuthor, _NotSetType] = ...,
260260
) -> Dict[str, Union[Commit, _NotSetType]]: ...
261261
@property
262+
def delete_branch_on_merge(self) -> bool: ...
263+
@property
262264
def deployments_url(self) -> str: ...
263265
@property
264266
def description(self) -> str: ...
@@ -331,7 +333,7 @@ class Repository(CompletableGithubObject):
331333
def get_contributors(
332334
self, anon: Union[str, _NotSetType] = ...
333335
) -> PaginatedList[NamedUser]: ...
334-
def get_deployment(self, id_: int) -> Any: ...
336+
def get_deployment(self, id_: int) -> Deployment: ...
335337
def get_deployments(
336338
self,
337339
sha: Union[str, _NotSetType] = ...,
@@ -351,6 +353,7 @@ class Repository(CompletableGithubObject):
351353
) -> Repository: ...
352354
def get_git_blob(self, sha: str) -> GitBlob: ...
353355
def get_git_commit(self, sha: str) -> GitCommit: ...
356+
def get_git_matching_refs(self, ref: str) -> PaginatedList[GitRef]: ...
354357
def get_git_ref(self, ref: str) -> GitRef: ...
355358
def get_git_refs(self) -> PaginatedList[GitRef]: ...
356359
def get_git_tag(self, sha: str) -> GitTag: ...

0 commit comments

Comments
 (0)