diff --git a/strider/server.py b/strider/server.py index e51eb6ae..b6088cb1 100644 --- a/strider/server.py +++ b/strider/server.py @@ -587,7 +587,9 @@ async def async_lookup( f"[{qid}] Posting async query response with {num_results} results to {callback}" ) try: - async with httpx.AsyncClient(timeout=httpx.Timeout(timeout=600.0)) as client: + async with httpx.AsyncClient( + timeout=httpx.Timeout(timeout=600.0) + ) as client: res = await client.post(callback, json=query_results) res.raise_for_status() LOGGER.info(f"[{qid}] Posted to {callback} with code {res.status_code}")