Skip to content

Commit b466470

Browse files
authored
Add Commit.get_pulls() to pyi (#1958)
Commit.get_pulls() is missing from the typing information, add it.
1 parent d1644e3 commit b466470

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

github/Commit.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ from github.GitCommit import GitCommit
1111
from github.GithubObject import CompletableGithubObject, _NotSetType
1212
from github.NamedUser import NamedUser
1313
from github.PaginatedList import PaginatedList
14+
from github.PullRequest import PullRequest
1415

1516
class Commit(CompletableGithubObject):
1617
def __repr__(self) -> str: ...
@@ -50,6 +51,7 @@ class Commit(CompletableGithubObject):
5051
def get_combined_status(self) -> CommitCombinedStatus: ...
5152
def get_comments(self) -> PaginatedList[CommitComment]: ...
5253
def get_statuses(self) -> PaginatedList[CommitStatus]: ...
54+
def get_pulls(self) -> PaginatedList[PullRequest]: ...
5355
def get_check_runs(
5456
self,
5557
check_name: Union[_NotSetType, str] = ...,

0 commit comments

Comments
 (0)