Skip to content

Commit 2d327bb

Browse files
committed
fix: pass timeout to update
Without this fix, we couldn't actually initialize with a timeout.
1 parent 5d465da commit 2d327bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pystac_client/stac_api_io.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,10 @@ def __init__(
9696
self.session.mount("https://", HTTPAdapter(max_retries=max_retries))
9797
self.timeout = timeout
9898
self.update(
99-
headers=headers, parameters=parameters, request_modifier=request_modifier
99+
headers=headers,
100+
parameters=parameters,
101+
request_modifier=request_modifier,
102+
timeout=timeout,
100103
)
101104

102105
def update(

0 commit comments

Comments
 (0)