We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ced224 commit 9e6e9aaCopy full SHA for 9e6e9aa
sdks/python/src/opik/httpx_client.py
@@ -7,14 +7,7 @@
7
8
def get(workspace: str, api_key: Optional[str]) -> httpx.Client:
9
limits = httpx.Limits(keepalive_expiry=30)
10
- timeout = httpx.Timeout(
11
- connect=5.0, # Time to establish a connection
12
- read=5, # Time to wait for a response after request
13
- write=5, # Time to send data to the server
14
- pool=60.0, # Time a connection can remain idle in the pool
15
- )
16
-
17
- client = httpx.Client(limits=limits, timeout=timeout)
+ client = httpx.Client(limits=limits)
18
19
headers = _prepare_headers(workspace=workspace, api_key=api_key)
20
client.headers.update(headers)
0 commit comments