Fix the type for OAuth2Session.authorization_url (#10878)

fix the type for `OAuth2Session.authorization_url`
This commit is contained in:
Matt Exact
2023-10-13 11:28:34 +01:00
committed by GitHub
parent cc38a75587
commit 8f8d369e10

View File

@@ -71,7 +71,7 @@ class OAuth2Session(requests.Session):
def access_token(self) -> None: ...
@property
def authorized(self) -> bool: ...
def authorization_url(self, url: str, state: Incomplete | None = None, **kwargs) -> str: ...
def authorization_url(self, url: str, state: Incomplete | None = None, **kwargs) -> tuple[str, str]: ...
def fetch_token(
self,
token_url: str,