From 0c49ab462fe6c321220f5cb1a1e71b015a02141e Mon Sep 17 00:00:00 2001 From: Will Greenberg Date: Tue, 4 Jun 2024 10:37:28 -0700 Subject: [PATCH] snap_config: oops kwargs are important i guess --- certbot/certbot/_internal/snap_config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/certbot/certbot/_internal/snap_config.py b/certbot/certbot/_internal/snap_config.py index f2ed701d7..a37748acd 100644 --- a/certbot/certbot/_internal/snap_config.py +++ b/certbot/certbot/_internal/snap_config.py @@ -100,10 +100,10 @@ class _SnapdConnectionPool(HTTPConnectionPool): class _SnapdAdapter(HTTPAdapter): - def get_connection_with_tls_context(self, _request: PreparedRequest, - _verify: bool, - _proxies: Optional[Iterable[str]] = None, - _cert: Optional[bytes] = None + def get_connection_with_tls_context(self, request: PreparedRequest, + verify: bool, + proxies: Optional[Iterable[str]] = None, + cert: Optional[bytes] = None ) -> _SnapdConnectionPool: """Required method for creating a new connection pool. Simply return our shim that forces a UNIX socket connection to snapd."""