MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / get_review

Method get_review

github/PullRequest.py:765–776  ·  view source on GitHub ↗

:calls: `GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} `_ :param id: integer :rtype: :class:`github.PullRequestReview.PullRequestReview`

(self, id: int)

Source from the content-addressed store, hash-verified

763 )
764
765 def get_review(self, id: int) -> PullRequestReview:
766 """
767 :calls: `GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id} <https://docs.github.com/en/rest/reference/pulls#reviews>`_
768 :param id: integer
769 :rtype: :class:`github.PullRequestReview.PullRequestReview`
770 """
771 assert isinstance(id, int), id
772 headers, data = self._requester.requestJsonAndCheck(
773 "GET",
774 f"{self.url}/reviews/{id}",
775 )
776 return github.PullRequestReview.PullRequestReview(self._requester, headers, data)
777
778 def get_reviews(self) -> PaginatedList[PullRequestReview]:
779 """

Callers 2

setUpMethod · 0.80
testDeleteMethod · 0.80

Calls 1

requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected