Deprecated by get_repo_installation. :calls: `GET /repos/{owner}/{repo}/installation `
(self, owner: str, repo: str)
| 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 | """ |
nothing calls this directly
no test coverage detected