Add expiration argument back to GithubIntegration.create_jwt (#2439)

* Add expiration argument back to create_jwt
This commit is contained in:
Enrico Minack
2023-03-17 21:40:48 +11:00
committed by GitHub
parent 554b2b28db
commit 822fc05cd5
3 changed files with 30 additions and 3 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class GithubIntegration:
) -> None: ...
def _get_installed_app(self, url: str) -> Installation: ...
def _get_headers(self) -> Dict[str, str]: ...
def create_jwt(self, expiration: int = ...) -> str: ...
def create_jwt(self, expiration: Optional[int] = ...) -> str: ...
def get_access_token(
self, installation_id: int, permissions: Optional[Dict[str, str]] = ...
) -> InstallationAuthorization: ...