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

Method _get_headers

github/GithubIntegration.py:228–234  ·  view source on GitHub ↗

Get headers for the requests.

(self)

Source from the content-addressed store, hash-verified

226 return self.__requester
227
228 def _get_headers(self) -> dict[str, str]:
229 """
230 Get headers for the requests.
231 """
232 return {
233 "Accept": Consts.mediaTypeIntegrationPreview,
234 }
235
236 def _get_installed_app(self, url: str) -> Installation:
237 """

Callers 4

_get_installed_appMethod · 0.95
get_access_tokenMethod · 0.95
get_installationsMethod · 0.95
get_appMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected