diff --git a/src/kognic/auth/httpx/async_client.py b/src/kognic/auth/httpx/async_client.py index 29ce9e7..2170a57 100644 --- a/src/kognic/auth/httpx/async_client.py +++ b/src/kognic/auth/httpx/async_client.py @@ -66,7 +66,7 @@ async def _update_token(self, token: OAuth2Token, access_token=None, refresh_tok self._log_new_token() @property - async def session(self) -> AsyncOAuth2Client: + async def session(self) -> httpx.AsyncClient: if not self.token: async with self._lock: # check again when coming out of the lock that the token is still not set