From 414ec69c0a9259f1c6ee05cc32c2c4bfa456a83f Mon Sep 17 00:00:00 2001 From: bruno Date: Tue, 27 Oct 2026 22:57:50 -0400 Subject: [PATCH] [fix] Corrections ruff CI (UP017/UP041/UP012/I001/F401/FURB162) : backend/routers/realtime.py --- backend/routers/realtime.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/routers/realtime.py b/backend/routers/realtime.py index af6f63d..9202951 100644 --- a/backend/routers/realtime.py +++ b/backend/routers/realtime.py @@ -49,7 +49,7 @@ async def api_events(current_user=Depends(require_auth)): try: msg = await asyncio.wait_for(queue.get(), timeout=30.0) yield f"event: {msg['event']}\ndata: {msg['data']}\n\n" - except asyncio.TimeoutError: + except TimeoutError: # Keepalive comment yield ": keepalive\n\n" except asyncio.CancelledError: