From cd454d5ca11ce950aff8ad6084bd016f92436a07 Mon Sep 17 00:00:00 2001 From: checktheroads Date: Fri, 20 Mar 2020 22:15:48 -0700 Subject: [PATCH] update httpx with AsyncClient --- hyperglass/execution/execute.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyperglass/execution/execute.py b/hyperglass/execution/execute.py index 95f48cc..b0cc6bb 100644 --- a/hyperglass/execution/execute.py +++ b/hyperglass/execution/execute.py @@ -275,7 +275,7 @@ class Connect: log.debug(f"URL endpoint: {endpoint}") try: - async with httpx.Client(**client_params) as http_client: + async with httpx.AsyncClient(**client_params) as http_client: responses = [] for query in self.query: