:calls: GET /app/installations
(self)
| 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 | """ |
no test coverage detected