From 6d5b8a07f7a29000556bd8a9939f1f218822fb46 Mon Sep 17 00:00:00 2001 From: Daniel Willim Date: Thu, 19 Feb 2026 17:48:18 +0100 Subject: [PATCH] Fixes type annotations on the sessions --- src/kognic/auth/httpx/async_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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