mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
fix(aiohttp): annotate aiohttp timeout var for mypy
This commit is contained in:
parent
e91a0a5cc3
commit
ff546822e4
1 changed files with 1 additions and 0 deletions
|
|
@ -190,6 +190,7 @@ class BaseLLMAIOHTTPHandler:
|
|||
async_client_session = self._get_async_client_session(
|
||||
dynamic_client_session=async_client_session
|
||||
)
|
||||
aiohttp_timeout: aiohttp.ClientTimeout
|
||||
if isinstance(timeout, aiohttp.ClientTimeout):
|
||||
aiohttp_timeout = timeout
|
||||
elif isinstance(timeout, httpx.Timeout):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue