Warning: this only returns review comments. For normal conversation comments, use get_issue_comments. :calls: `GET /repos/{owner}/{repo}/pulls/{pull_number}/comments `_ :param sort: string 'created' or 'update
(
self,
sort: Opt[str] = NotSet,
direction: Opt[str] = NotSet,
since: Opt[datetime] = NotSet,
)
| 649 | return github.PullRequestComment.PullRequestComment(self._requester, url=url) |
| 650 | |
| 651 | def get_comments( |
| 652 | self, |
| 653 | sort: Opt[str] = NotSet, |
| 654 | direction: Opt[str] = NotSet, |
| 655 | since: Opt[datetime] = NotSet, |
| 656 | ) -> PaginatedList[PullRequestComment]: |
| 657 | """ |
| 658 | Warning: this only returns review comments. For normal conversation comments, use get_issue_comments. |
| 659 | |
| 660 | :calls: `GET /repos/{owner}/{repo}/pulls/{pull_number}/comments <https://docs.github.com/en/rest/reference/pulls#review-comments>`_ |
| 661 | :param sort: string 'created' or 'updated' |
| 662 | :param direction: string 'asc' or 'desc' |
| 663 | :param since: datetime |
| 664 | """ |
| 665 | return self.get_review_comments(sort=sort, direction=direction, since=since) |
| 666 | |
| 667 | # v3: remove *, added here to force named parameters because order has changed |
| 668 | def get_review_comments( |
nothing calls this directly
no test coverage detected