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
This commit is contained in:
Bharadwaj Pendyala 2026-08-14 21:12:58 -05:00 committed by Bharadwaj
parent fca15e7043
commit 68f0f4db7d

View file

@ -846,7 +846,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")