From 62292cdd93eacab55ccab23b0ddedad4f753a31b Mon Sep 17 00:00:00 2001 From: Andrew <62027275+aresler@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:30:54 +0100 Subject: [PATCH] [oauthlib] Fix return types of `Client` methods (#9908) --- stubs/oauthlib/oauthlib/oauth2/rfc6749/clients/base.pyi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stubs/oauthlib/oauthlib/oauth2/rfc6749/clients/base.pyi b/stubs/oauthlib/oauthlib/oauth2/rfc6749/clients/base.pyi index 2a75404ff..126332226 100644 --- a/stubs/oauthlib/oauthlib/oauth2/rfc6749/clients/base.pyi +++ b/stubs/oauthlib/oauthlib/oauth2/rfc6749/clients/base.pyi @@ -46,9 +46,9 @@ class Client: ) -> None: ... @property def token_types(self): ... - def prepare_request_uri(self, *args, **kwargs) -> None: ... - def prepare_request_body(self, *args, **kwargs) -> None: ... - def parse_request_uri_response(self, *args, **kwargs) -> None: ... + def prepare_request_uri(self, *args, **kwargs) -> str: ... + def prepare_request_body(self, *args, **kwargs) -> str: ... + def parse_request_uri_response(self, *args, **kwargs) -> dict[str, str]: ... def add_token( self, uri,