From 81e5a76bb00770522141f871567760ae61d910f1 Mon Sep 17 00:00:00 2001 From: ZPascal Date: Fri, 29 Nov 2024 11:52:11 +0100 Subject: [PATCH] fix: Adjust the HTTPx config --- grafana_api/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafana_api/model.py b/grafana_api/model.py index 2a96fd6..eeb2a10 100644 --- a/grafana_api/model.py +++ b/grafana_api/model.py @@ -99,7 +99,7 @@ class APIModel: headers: dict = None timeout: float = 10.0 http2_support: bool = False - ssl_context: ssl.SSLContext = httpx.create_ssl_context(http2=http2_support) + ssl_context: ssl.SSLContext = httpx.create_ssl_context() num_pools: int = 10 retries: any = 10