diff --git a/mastodon/authentication.py b/mastodon/authentication.py index 95770c0..358e67d 100644 --- a/mastodon/authentication.py +++ b/mastodon/authentication.py @@ -22,7 +22,7 @@ class Mastodon(Internals): # Registering apps ### @staticmethod - def create_app(client_name, scopes: List[str] = _DEFAULT_SCOPES, redirect_uris: Optional[Union[str, List[str]]] = None, website: Optional[str] = None, + def create_app(client_name: str, scopes: List[str] = _DEFAULT_SCOPES, redirect_uris: Optional[Union[str, List[str]]] = None, website: Optional[str] = None, to_file: Optional[Union[str, PurePath]] = None, api_base_url: Optional[str] = None, request_timeout: float = _DEFAULT_TIMEOUT, session: Optional[requests.Session] = None, user_agent: str = _DEFAULT_USER_AGENT) -> Tuple[str, str]: """ @@ -530,3 +530,4 @@ class Mastodon(Internals): """ return self.__api_request('GET', '/api/v1/apps/verify_credentials') +