From 970603e7e27278e7adc8c559d203982306f28d73 Mon Sep 17 00:00:00 2001 From: Spider84pr Date: Fri, 19 Sep 2025 13:19:58 +0300 Subject: [PATCH] Added annotation for fetch_request_token of OAuth1Client class (#14711) --- stubs/Authlib/authlib/oauth1/client.pyi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stubs/Authlib/authlib/oauth1/client.pyi b/stubs/Authlib/authlib/oauth1/client.pyi index 5fe839592..23a3b0457 100644 --- a/stubs/Authlib/authlib/oauth1/client.pyi +++ b/stubs/Authlib/authlib/oauth1/client.pyi @@ -1,4 +1,5 @@ from _typeshed import Incomplete +from typing import Any from authlib.oauth1 import ClientAuth @@ -31,7 +32,7 @@ class OAuth1Client: @token.setter def token(self, token) -> None: ... def create_authorization_url(self, url, request_token=None, **kwargs): ... - def fetch_request_token(self, url, **kwargs): ... + def fetch_request_token(self, url: str, **kwargs) -> dict[str, Any]: ... def fetch_access_token(self, url, verifier=None, **kwargs): ... def parse_authorization_response(self, url): ... def parse_response_token(self, status_code, text): ...