Skip to content

Commit

Permalink
Run black
Browse files Browse the repository at this point in the history
  • Loading branch information
maximusunc committed Sep 20, 2024
1 parent 8a62080 commit 49bcca0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion strider/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")
Expand Down

0 comments on commit 49bcca0

Please sign in to comment.