From b5a6bb2669806473b3e19ea7ba5d8c09f42f0de2 Mon Sep 17 00:00:00 2001 From: George Date: Wed, 16 Sep 2026 00:19:43 +0700 Subject: [PATCH] fix: fix async client timeout (#1440) --- qdrant_client/http/api_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qdrant_client/http/api_client.py b/qdrant_client/http/api_client.py index 4c907c3c..fda3596c 100644 --- a/qdrant_client/http/api_client.py +++ b/qdrant_client/http/api_client.py @@ -183,6 +183,8 @@ class AsyncApiClient: # in order to do a correct join, url join requires base_url to end with /, and url to not start with /, # since url is treated as an absolute path and might truncate prefix in base_url url = urljoin(host, url.format(**path_params)) + if "params" in kwargs and "timeout" in kwargs["params"]: + kwargs["timeout"] = int(kwargs["params"]["timeout"]) request = self._async_client.build_request(method, url, **kwargs) return await self.send(request, type_)