llama-stack-mirror/llama_stack/distribution/server
Ihar Hrachyshka 851d0fdc10 fix: catch TimeoutError in place of asyncio.TimeoutError
As per docs [1], since python 3.11 wait_for() raises TimeoutError. Since
we currently support python 3.10+, we have to catch both.

[1]: https://docs.python.org/3.12/library/asyncio-task.html#asyncio.wait_for

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka@gmail.com>
2025-05-09 17:03:09 -04:00
..
__init__.py API Updates (#73) 2024-09-17 19:51:35 -07:00
auth.py feat: Add Kubernetes authentication (#1778) 2025-04-28 22:24:58 +02:00
auth_providers.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
endpoints.py chore: enable pyupgrade fixes (#1806) 2025-05-01 14:23:50 -07:00
server.py fix: catch TimeoutError in place of asyncio.TimeoutError 2025-05-09 17:03:09 -04:00