MCPcopy Create free account
hub / github.com/hunvreus/devpush / get_installation_access_token

Method get_installation_access_token

app/services/github.py:271–280  ·  view source on GitHub ↗

Get an installation access token.

(
        self, installation_id: str
    )

Source from the content-addressed store, hash-verified

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

Callers 2

github_webhookFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected