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

Method get_comment

github/Gist.py:265–271  ·  view source on GitHub ↗

:calls: `GET /gists/{gist_id}/comments/{comment_id} `_

(self, id: int)

Source from the content-addressed store, hash-verified

263 self._set_complete()
264
265 def get_comment(self, id: int) -> GistComment:
266 """
267 :calls: `GET /gists/{gist_id}/comments/{comment_id} <https://docs.github.com/en/rest/reference/gists#comments>`_
268 """
269 assert isinstance(id, int), id
270 url = f"{self.url}/comments/{id}"
271 return github.GistComment.GistComment(self._requester, url=url)
272
273 def get_comments(self) -> PaginatedList[GistComment]:
274 """

Callers 9

testAllClassesMethod · 0.45
setUpMethod · 0.45
testLazyAttributesMethod · 0.45
setUpMethod · 0.45
testLazyAttributesMethod · 0.45
setUpMethod · 0.45
testLazyAttributesMethod · 0.45
setUpMethod · 0.45
testLazyAttributesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected