Pass Requester arguments to AppInstallationAuth.__integration (#2695)

This commit is contained in:
Enrico Minack
2023-08-28 15:43:49 +02:00
committed by GitHub
parent 2fa568b6d6
commit 8bf542aedd
11 changed files with 138 additions and 38 deletions
+3 -1
View File
@@ -32,7 +32,9 @@ class GithubIntegration:
jwt_algorithm: str = ...,
auth: Optional[AppAuth] = ...,
) -> None: ...
def get_github_for_installation(self, installation_id: int) -> github.Github: ...
def get_github_for_installation(
self, installation_id: int, token_permissions: Optional[Dict[str, str]] = ...
) -> github.Github: ...
def _get_installed_app(self, url: str) -> Installation: ...
def _get_headers(self) -> Dict[str, str]: ...
def create_jwt(self, expiration: Optional[int] = ...) -> str: ...