Fix typing
This commit is contained in:
parent
4117a189e6
commit
47781b35dd
@ -78,7 +78,9 @@ def token_updater(token: str):
|
||||
session["oauth2_token"] = token
|
||||
|
||||
|
||||
def make_session(token: Optional[Dict[str, str]], state=Optional[str]) -> OAuth2Session:
|
||||
def make_session(
|
||||
token: Optional[Dict[str, str]] = None, state: Optional[str] = None
|
||||
) -> OAuth2Session:
|
||||
return OAuth2Session(
|
||||
client_id=OAUTH2_CLIENT_ID,
|
||||
token=token,
|
||||
|
Loading…
Reference in New Issue
Block a user