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

Method get_repo_installation

github/GithubIntegration.py:317–323  ·  view source on GitHub ↗

:calls: `GET /repos/{owner}/{repo}/installation `

(self, owner: str, repo: str)

Source from the content-addressed store, hash-verified

315 return self._get_installed_app(url=f"/orgs/{org}/installation")
316
317 def get_repo_installation(self, owner: str, repo: str) -> Installation:
318 """
319 :calls: `GET /repos/{owner}/{repo}/installation <https://docs.github.com/en/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app>`
320 """
321 owner = urllib.parse.quote(owner)
322 repo = urllib.parse.quote(repo)
323 return self._get_installed_app(url=f"/repos/{owner}/{repo}/installation")
324
325 def get_user_installation(self, username: str) -> Installation:
326 """

Callers 1

Calls 1

_get_installed_appMethod · 0.95

Tested by

no test coverage detected