Skip to content

Commit e368db3

Browse files
committed
Fixed annotations to kwargs for all functions
1 parent 6858213 commit e368db3

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

stubs/Authlib/authlib/integrations/base_client/async_app.pyi

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,18 @@ log: Logger
99
__all__ = ["AsyncOAuth1Mixin", "AsyncOAuth2Mixin"]
1010

1111
class AsyncOAuth1Mixin(OAuth1Base):
12-
async def request(self, method: str, url: str, token: dict[str, Any] | None = None, **kwargs: dict[str, Any]) -> httpx.Response: ...
13-
async def create_authorization_url(self, redirect_uri: str | None = None, **kwargs: dict[str, Any]) -> dict[str, Any]: ...
14-
async def fetch_access_token(self, request_token: dict[str, Any] | None = None, **kwargs: dict[str, Any]) -> dict[str, Any]: ...
12+
async def request(
13+
self, method: str, url: str, token: dict[str, Any] | None = None, **kwargs: Any
14+
) -> httpx.Response: ...
15+
async def create_authorization_url(self, redirect_uri: str | None = None, **kwargs: Any) -> dict[str, Any]: ...
16+
async def fetch_access_token(
17+
self, request_token: dict[str, Any] | None = None, **kwargs: Any
18+
) -> dict[str, Any]: ...
1519

1620
class AsyncOAuth2Mixin(OAuth2Base):
1721
async def load_server_metadata(self) -> dict[str, Any]: ...
18-
async def request(self, method: str, url: str, token: dict[str, Any] | None = None, **kwargs: dict[str, Any]) -> httpx.Response: ...
19-
async def create_authorization_url(self, redirect_uri: str | None = None, **kwargs: dict[str, Any]) -> dict[str, Any]: ...
20-
async def fetch_access_token(self, redirect_uri: str | None = None, **kwargs: dict[str, Any]) -> dict[str, Any]: ...
22+
async def request(
23+
self, method: str, url: str, token: dict[str, Any] | None = None, **kwargs: Any
24+
) -> httpx.Response: ...
25+
async def create_authorization_url(self, redirect_uri: str | None = None, **kwargs: Any) -> dict[str, Any]: ...
26+
async def fetch_access_token(self, redirect_uri: str | None = None, **kwargs: Any) -> dict[str, Any]: ...

0 commit comments

Comments
 (0)