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:
Steve Kowalik
2020-11-26 16:32:17 +11:00
committed by GitHub
co-authored by Raju Subramanian
parent d159425f36
commit fcdd9eae2f
+1 -1
View File
@@ -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,