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

Method get_comments

github/Gist.py:273–282  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

271 return github.GistComment.GistComment(self._requester, url=url)
272
273 def get_comments(self) -> PaginatedList[GistComment]:
274 """
275 :calls: `GET /gists/{gist_id}/comments <https://docs.github.com/en/rest/reference/gists#comments>`_
276 """
277 return PaginatedList(
278 github.GistComment.GistComment,
279 self._requester,
280 f"{self.url}/comments",
281 None,
282 )
283
284 def is_starred(self) -> bool:
285 """

Calls 1

PaginatedListClass · 0.90

Tested by

no test coverage detected