Skip to content

Commit df9b493

Browse files
committed
format
1 parent e124e62 commit df9b493

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

template/server/messaging.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,7 @@ async def _wait_for_result(self, message_id: str):
260260

261261
while True:
262262
try:
263-
output = await asyncio.wait_for(
264-
queue.get(), timeout=KEEPALIVE_INTERVAL
265-
)
263+
output = await asyncio.wait_for(queue.get(), timeout=KEEPALIVE_INTERVAL)
266264
except asyncio.TimeoutError:
267265
# Yield a keepalive so Starlette writes to the socket.
268266
# If the client has disconnected, the write fails and

0 commit comments

Comments
 (0)