Get an installation access token.
(
self, installation_id: str
)
| 269 | return response.json() |
| 270 | |
| 271 | async def get_installation_access_token( |
| 272 | self, installation_id: str |
| 273 | ) -> dict[str, Any]: |
| 274 | """Get an installation access token.""" |
| 275 | response = httpx.post( |
| 276 | f"https://api.github.com/app/installations/{installation_id}/access_tokens", |
| 277 | headers={"Authorization": f"Bearer {self.jwt_token}"}, |
| 278 | ) |
| 279 | response.raise_for_status() |
| 280 | return response.json() |
| 281 | |
| 282 | async def get_installation_repositories( |
| 283 | self, installation_access_token: str |
no outgoing calls
no test coverage detected