fix a typo made when introducing types

pull/397/head
halcy 2025-02-15 00:52:46 +02:00
rodzic 29a6b6d2a9
commit 05fcb5bcf0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -302,7 +302,7 @@ class Mastodon(Internals):
def log_in(self, username: Optional[str] = None, password: Optional[str] = None, code: Optional[str] = None,
redirect_uri: str = "urn:ietf:wg:oauth:2.0:oob", refresh_token: Optional[str] = None, scopes: List[str] = _DEFAULT_SCOPES,
to_file = Union[str, PurePath]) -> str:
to_file: Optional[Union[str, PurePath]] = None) -> str:
"""
Get the access token for a user, either via OAuth code flow, or (deprecated) password flow.