Skip to content

Commit

Permalink
Add Commit.get_pulls() to pyi (#1958)
Browse files Browse the repository at this point in the history
Commit.get_pulls() is missing from the typing information, add it.
  • Loading branch information
atakiya committed Jun 2, 2021
1 parent d1644e3 commit b466470
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions github/Commit.pyi
Expand Up @@ -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: ...
Expand Down Expand Up @@ -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] = ...,
Expand Down

0 comments on commit b466470

Please sign in to comment.