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

Method get_installations

github/GithubIntegration.py:297–308  ·  view source on GitHub ↗

:calls: GET /app/installations

(self)

Source from the content-addressed store, hash-verified

295 return self._get_installed_app(url=f"/repos/{owner}/{repo}/installation")
296
297 def get_installations(self) -> PaginatedList[Installation]:
298 """
299 :calls: GET /app/installations <https://docs.github.com/en/rest/reference/apps#list-installations-for-the-authenticated-app>
300 """
301 return PaginatedList(
302 contentClass=Installation,
303 requester=self.__requester,
304 firstUrl="/app/installations",
305 firstParams=None,
306 headers=self._get_headers(),
307 list_item="installations",
308 )
309
310 def get_org_installation(self, org: str) -> Installation:
311 """

Callers 4

testDeprecatedAppAuthMethod · 0.95
testAppAuthMethod · 0.95
testGetInstallationsMethod · 0.95

Calls 2

_get_headersMethod · 0.95
PaginatedListClass · 0.90

Tested by

no test coverage detected