From 75b65b48345ba8938af0d0b923bef6bb13c430be Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Jun 2026 16:24:45 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/routes/inference.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/studio/backend/routes/inference.py b/studio/backend/routes/inference.py index 51700e4017..5f467cc83a 100644 --- a/studio/backend/routes/inference.py +++ b/studio/backend/routes/inference.py @@ -808,7 +808,12 @@ def _same_task_timeout(timeout_s: float): class _SameTaskStreamingResponse(StreamingResponse): """StreamingResponse without Starlette's legacy AnyIO task-group wrapper.""" - def __init__(self, *args, unstarted_cleanup = None, **kwargs) -> None: + def __init__( + self, + *args, + unstarted_cleanup = None, + **kwargs, + ) -> None: super().__init__(*args, **kwargs) # Async callable invoked when the client disconnects before the body # iterator is ever advanced. A generator that never started cannot run