mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
Correct typing for Commit.get_comments() (#1765)
Commit.get_comments() returns a PaginatedList of CommitComment instances, not commits. Co-Authored-By: Raju Subramanian <coder@mahesh.net>
This commit is contained in:
co-authored by
Raju Subramanian
parent
d159425f36
commit
fcdd9eae2f
+1
-1
@@ -42,7 +42,7 @@ class Commit(CompletableGithubObject):
|
||||
@property
|
||||
def files(self) -> List[File]: ...
|
||||
def get_combined_status(self) -> CommitCombinedStatus: ...
|
||||
def get_comments(self) -> PaginatedList[GitCommit]: ...
|
||||
def get_comments(self) -> PaginatedList[CommitComment]: ...
|
||||
def get_statuses(self) -> PaginatedList[CommitStatus]: ...
|
||||
def get_check_runs(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user