From 4631c6e9427650ffaaed2845709327c1f88ae81d Mon Sep 17 00:00:00 2001 From: Daniel Arvelini Date: Thu, 28 Nov 2024 22:20:27 -0300 Subject: [PATCH] HOTFIX: Keyword param "proxies" is missing. Update _client.py "proxies" param is missing if passed as keyword argument. Even tough it should be there, since it is mentioned in the docstring as an optional param. --- httpx/_client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/httpx/_client.py b/httpx/_client.py index 018d440c17..972d50529c 100644 --- a/httpx/_client.py +++ b/httpx/_client.py @@ -651,6 +651,7 @@ def __init__( http1: bool = True, http2: bool = False, proxy: ProxyTypes | None = None, + proxies: dict[str, ProxyTypes] | None = None, mounts: None | (typing.Mapping[str, BaseTransport | None]) = None, timeout: TimeoutTypes = DEFAULT_TIMEOUT_CONFIG, follow_redirects: bool = False,