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

Method get_gist

github/MainClass.py:539–545  ·  view source on GitHub ↗

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

(self, id: str)

Source from the content-addressed store, hash-verified

537 return github.ProjectColumn.ProjectColumn(self.__requester, headers, data)
538
539 def get_gist(self, id: str) -> Gist:
540 """
541 :calls: `GET /gists/{gist_id} <https://docs.github.com/en/rest/reference/gists>`_
542 """
543 assert isinstance(id, str), id
544 url = f"/gists/{id}"
545 return github.Gist.Gist(self.__requester, url=url)
546
547 def get_gists(self, since: Opt[datetime] = NotSet) -> PaginatedList[Gist]:
548 """

Callers 15

testAllClassesMethod · 0.80
setUpMethod · 0.80
testLazyAttributesMethod · 0.80
testAttributesMethod · 0.80
testLazyAttributesMethod · 0.80
testDeleteFileMethod · 0.80
testRenameFileMethod · 0.80
testCreateCommentMethod · 0.80
testGetCommentsMethod · 0.80
testStarringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected