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

Method set_starred

github/Gist.py:297–301  ·  view source on GitHub ↗

:calls: `PUT /gists/{gist_id}/star `_

(self)

Source from the content-addressed store, hash-verified

295 headers, data = self._requester.requestJsonAndCheck("DELETE", f"{self.url}/star")
296
297 def set_starred(self) -> None:
298 """
299 :calls: `PUT /gists/{gist_id}/star <https://docs.github.com/en/rest/reference/gists>`_
300 """
301 headers, data = self._requester.requestJsonAndCheck("PUT", f"{self.url}/star")
302
303 def _useAttributes(self, attributes: dict[str, Any]) -> None:
304 if "comments" in attributes: # pragma no branch

Callers 1

testStarringMethod · 0.80

Calls 1

requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected