fix: remove timeout on python client httpx to prevent ducklake query timeouts (#8636)

* fix: set 300s timeout on python client httpx to prevent ducklake query timeouts

The httpx.Client was using the default 5s timeout, causing ducklake SQL
queries (which run synchronously via run_inline_preview_script) to timeout
for any query taking longer than 5 seconds.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: disable timeout on python client httpx

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Update client.py

* Update client.py

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Diego Imbert
2026-03-31 11:31:59 +02:00
committed by GitHub
parent 92b9ac72c5
commit c5fccd2f69

View File

@@ -94,6 +94,7 @@ class Windmill:
base_url=self.base_url,
headers=self.headers,
verify=self.verify,
timeout=httpx.Timeout(900.0),
)
def get(self, endpoint, raise_for_status=True, **kwargs) -> httpx.Response: