From b45ee186fec493acf26757f1f2c7dd212757a0e5 Mon Sep 17 00:00:00 2001 From: Max Wang Date: Fri, 20 Sep 2024 11:09:29 -0400 Subject: [PATCH] Run black --- strider/server.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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}")