From 6f02c3e3005f9f432a40f4966cabc5f7d7e6ab3e Mon Sep 17 00:00:00 2001 From: oDepleted <114532730+oDepleted@users.noreply.github.com> Date: Sun, 1 Oct 2023 19:19:08 +1300 Subject: [PATCH] Changed return type of `build_user_creds` Changed return type of `auth.managers.Oauth2Manager.build_user_creds` from `dict` to `UserCreds` --- aiogoogle/auth/managers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogoogle/auth/managers.py b/aiogoogle/auth/managers.py index 935fb1c..ff58cc6 100644 --- a/aiogoogle/auth/managers.py +++ b/aiogoogle/auth/managers.py @@ -424,7 +424,7 @@ def authorization_url( async def build_user_creds( self, grant, client_creds=None, grant_type=AUTH_CODE_GRANT_TYPE - ) -> dict: + ) -> UserCreds: """ Second step of Oauth2 authrization code flow. Creates a User Creds object with access and refresh token