mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Fix the type for OAuth2Session.authorization_url (#10878)
fix the type for `OAuth2Session.authorization_url`
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user