From 879e7c768e43097cda9e30bd574e69b921436085 Mon Sep 17 00:00:00 2001 From: gym-cmd <186399764+gym-cmd@users.noreply.github.com> Date: Wed, 5 Aug 2026 11:58:11 +0100 Subject: [PATCH] fix(proxy): import Sequence from collections.abc (ruff UP035 strict-budget gate) --- litellm/proxy/middleware/per_request_root_path_middleware.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/middleware/per_request_root_path_middleware.py b/litellm/proxy/middleware/per_request_root_path_middleware.py index 16d7cea6a43..7242202ccdd 100644 --- a/litellm/proxy/middleware/per_request_root_path_middleware.py +++ b/litellm/proxy/middleware/per_request_root_path_middleware.py @@ -29,7 +29,8 @@ scalar ``SERVER_ROOT_PATH`` / path-carrying ``PROXY_BASE_URL``. """ import os -from typing import Final, Sequence +from collections.abc import Sequence +from typing import Final from starlette.types import ASGIApp, Receive, Scope, Send