From e2fa9397f047d07028f1245d451c5f30de6a3efa Mon Sep 17 00:00:00 2001 From: SolitaryThinker Date: Thu, 23 Jul 2026 11:10:46 -0700 Subject: [PATCH] [fix]: drop return annotation on ws route --- fastvideo2/serve/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastvideo2/serve/server.py b/fastvideo2/serve/server.py index f9fc644d7..34b4c9164 100644 --- a/fastvideo2/serve/server.py +++ b/fastvideo2/serve/server.py @@ -109,7 +109,7 @@ def build_app(model: Any) -> Any: return FileResponse(job["video_path"], media_type="video/mp4") @app.websocket("/v1/stream") - async def stream(ws: WebSocket) -> None: + async def stream(ws: WebSocket): """One request per connection: send a VideoRequest JSON, receive per-step progress events, then the terminal result with latents_sha and an MP4 download URL."""