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:
@@ -275,7 +275,7 @@ class Connect:
|
|||||||
log.debug(f"URL endpoint: {endpoint}")
|
log.debug(f"URL endpoint: {endpoint}")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
async with httpx.Client(**client_params) as http_client:
|
async with httpx.AsyncClient(**client_params) as http_client:
|
||||||
responses = []
|
responses = []
|
||||||
|
|
||||||
for query in self.query:
|
for query in self.query:
|
||||||
|
Reference in New Issue
Block a user