Skip to content

Commit 970603e

Browse files
authored
Added annotation for fetch_request_token of OAuth1Client class (#14711)
1 parent 14c0873 commit 970603e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stubs/Authlib/authlib/oauth1/client.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from _typeshed import Incomplete
2+
from typing import Any
23

34
from authlib.oauth1 import ClientAuth
45

@@ -31,7 +32,7 @@ class OAuth1Client:
3132
@token.setter
3233
def token(self, token) -> None: ...
3334
def create_authorization_url(self, url, request_token=None, **kwargs): ...
34-
def fetch_request_token(self, url, **kwargs): ...
35+
def fetch_request_token(self, url: str, **kwargs) -> dict[str, Any]: ...
3536
def fetch_access_token(self, url, verifier=None, **kwargs): ...
3637
def parse_authorization_response(self, url): ...
3738
def parse_response_token(self, status_code, text): ...

0 commit comments

Comments
 (0)