1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

update httpx with AsyncClient

This commit is contained in:
checktheroads
2020-03-20 22:15:48 -07:00
parent c255691871
commit cd454d5ca1

View File

@@ -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: