From 5149e8159720fd3240ffa81bd6972a4f7b5082c7 Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Thu, 15 May 2025 23:40:20 +0200 Subject: [PATCH] Update transports.py Add compatibility with httpx 0.26+ ref https://github.com/encode/httpx/commit/f8981f3d124f9b8db9073fd5c8afa11acb55a738 --- src/zeep/transports.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zeep/transports.py b/src/zeep/transports.py index 0841e2f..57c80a4 100644 --- a/src/zeep/transports.py +++ b/src/zeep/transports.py @@ -184,12 +184,12 @@ def __init__( self.cache = cache self.wsdl_client = wsdl_client or httpx.Client( verify=verify_ssl, - proxies=proxy, + proxy=proxy, timeout=timeout, ) self.client = client or httpx.AsyncClient( verify=verify_ssl, - proxies=proxy, + proxy=proxy, timeout=operation_timeout, ) self.logger = logging.getLogger(__name__)