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

Method get_app

github/GithubIntegration.py:338–344  ·  view source on GitHub ↗

:calls: `GET /app `_

(self)

Source from the content-addressed store, hash-verified

336 return self._get_installed_app(url=f"/app/installations/{installation_id}")
337
338 def get_app(self) -> GithubApp:
339 """
340 :calls: `GET /app <https://docs.github.com/en/rest/reference/apps#get-the-authenticated-app>`_
341 """
342
343 headers, data = self.__requester.requestJsonAndCheck("GET", "/app", headers=self._get_headers())
344 return GithubApp(requester=self.__requester, headers=headers, attributes=data, completed=True)

Callers 1

testGetAppMethod · 0.95

Calls 3

_get_headersMethod · 0.95
GithubAppClass · 0.90
requestJsonAndCheckMethod · 0.80

Tested by

no test coverage detected