From 371d11accbb9ce897e560e6d36a7a9722afc642b Mon Sep 17 00:00:00 2001 From: Jonathan Mongeau Date: Fri, 29 Nov 2024 01:58:58 -0500 Subject: [PATCH] fix: change to mounts (#622) --- src/keycloak/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keycloak/connection.py b/src/keycloak/connection.py index f7b8ffd..a709713 100644 --- a/src/keycloak/connection.py +++ b/src/keycloak/connection.py @@ -102,7 +102,7 @@ class ConnectionManager(object): if proxies: self._s.proxies.update(proxies) - self.async_s = httpx.AsyncClient(verify=verify, proxies=proxies, cert=cert) + self.async_s = httpx.AsyncClient(verify=verify, mounts=proxies, cert=cert) self.async_s.auth = None # don't let requests add auth headers self.async_s.transport = httpx.AsyncHTTPTransport(retries=1)