MCPcopy Create free account
hub / github.com/pollinations/pollinations / init_github_app

Function init_github_app

apps/polly/src/services/github_auth.py:74–77  ·  view source on GitHub ↗
(app_id: str, private_key: str, installation_id: str)

Source from the content-addressed store, hash-verified

72
73
74def init_github_app(app_id: str, private_key: str, installation_id: str):
75 global github_app_auth
76 github_app_auth = GitHubAppAuth(app_id, private_key, installation_id)
77 logger.info(f"GitHub App auth initialized (App ID: {app_id}, Installation: {installation_id})")
78
79
80async def get_github_token() -> str | None:

Callers 1

setup_hookMethod · 0.85

Calls 2

GitHubAppAuthClass · 0.85
infoMethod · 0.65

Tested by

no test coverage detected