From 99f1e4d899646660ba9fd2d76f653b177d4e70e1 Mon Sep 17 00:00:00 2001 From: Bharadwaj Pendyala Date: Fri, 14 Aug 2026 21:12:58 -0500 Subject: [PATCH] chore(vertex_ai): drop the suppression comment on the tuple-items rewrite mutable-ok does not suppress LIT011, and the sibling walker process_items carries the same LIT002 and LIT011 pair on one line with no pragma --- litellm/llms/vertex_ai/common_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/vertex_ai/common_utils.py b/litellm/llms/vertex_ai/common_utils.py index 995cc8d0fb1..094ec348ec4 100644 --- a/litellm/llms/vertex_ai/common_utils.py +++ b/litellm/llms/vertex_ai/common_utils.py @@ -895,7 +895,7 @@ def _normalize_tuple_items(schema: dict[str, Any], depth: int = 0) -> None: tuple_items: Final = schema.get("items", None) if isinstance(tuple_items, list): if tuple_items: - schema["items"] = {"anyOf": tuple_items} # mutable-ok: every walker here rewrites the schema tree in place + schema["items"] = {"anyOf": tuple_items} else: schema.pop("items")