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

Method get_installation

github/GithubIntegration.py:285–295  ·  view source on GitHub ↗

Deprecated by get_repo_installation. :calls: `GET /repos/{owner}/{repo}/installation `

(self, owner: str, repo: str)

Source from the content-addressed store, hash-verified

283
284 @deprecated("Use get_repo_installation")
285 def get_installation(self, owner: str, repo: str) -> Installation:
286 """
287 Deprecated by get_repo_installation.
288
289 :calls: `GET /repos/{owner}/{repo}/installation <https://docs.github.com/en/rest/reference/apps#get-a-repository-
290 installation-for-the-authenticated-app>`
291
292 """
293 owner = urllib.parse.quote(owner)
294 repo = urllib.parse.quote(repo)
295 return self._get_installed_app(url=f"/repos/{owner}/{repo}/installation")
296
297 def get_installations(self) -> PaginatedList[Installation]:
298 """

Callers

nothing calls this directly

Calls 1

_get_installed_appMethod · 0.95

Tested by

no test coverage detected