Skip to content

Commit d77f388

Browse files
committed
fix(types): widen HTTP client option mapping
1 parent 2748788 commit d77f388

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

dataretrieval/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ def _get(url: str | httpx.URL, **kwargs: Any) -> httpx.Response:
443443
and every redirect. The hook removes ``X-Api-Key`` unless the destination
444444
host is the authorized Water Data API host.
445445
"""
446-
client_options = {
446+
client_options: dict[str, Any] = {
447447
key: kwargs.pop(key)
448448
for key in ("follow_redirects", "timeout", "transport", "verify")
449449
if key in kwargs

0 commit comments

Comments
 (0)