Get installation details from GitHub.
(self, installation_id: str)
| 260 | return response.json() |
| 261 | |
| 262 | async def get_installation(self, installation_id: str) -> dict: |
| 263 | """Get installation details from GitHub.""" |
| 264 | response = httpx.get( |
| 265 | f"https://api.github.com/app/installations/{installation_id}", |
| 266 | headers={"Authorization": f"Bearer {self.jwt_token}"}, |
| 267 | ) |
| 268 | response.raise_for_status() |
| 269 | return response.json() |
| 270 | |
| 271 | async def get_installation_access_token( |
| 272 | self, installation_id: str |
no outgoing calls
no test coverage detected