diff --git a/github/Commit.pyi b/github/Commit.pyi index e672d632e6..0c2df93897 100644 --- a/github/Commit.pyi +++ b/github/Commit.pyi @@ -11,6 +11,7 @@ from github.GitCommit import GitCommit from github.GithubObject import CompletableGithubObject, _NotSetType from github.NamedUser import NamedUser from github.PaginatedList import PaginatedList +from github.PullRequest import PullRequest class Commit(CompletableGithubObject): def __repr__(self) -> str: ... @@ -50,6 +51,7 @@ class Commit(CompletableGithubObject): def get_combined_status(self) -> CommitCombinedStatus: ... def get_comments(self) -> PaginatedList[CommitComment]: ... def get_statuses(self) -> PaginatedList[CommitStatus]: ... + def get_pulls(self) -> PaginatedList[PullRequest]: ... def get_check_runs( self, check_name: Union[_NotSetType, str] = ...,