From 6d6c78e77b27f2c53aaf2fcaafeb7db3d5699854 Mon Sep 17 00:00:00 2001 From: Chesars Date: Sat, 25 Apr 2026 17:44:26 -0300 Subject: [PATCH] fix(lint): drop unused import, suppress PLR0915 on batch_embeddings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - F401: _is_multimodal_input was orphaned by an earlier helper extraction (b038c0714c) — remove the dead import. - PLR0915: batch_embeddings is 51 statements (limit 50), one over the threshold. Suppress with # noqa, matching the existing convention used in utils.py, cost_calculator.py, and get_llm_provider_logic.py. --- .../vertex_ai/gemini_embeddings/batch_embed_content_handler.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_handler.py b/litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_handler.py index 2a88789c31..38fdbd8f1b 100644 --- a/litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_handler.py +++ b/litellm/llms/vertex_ai/gemini_embeddings/batch_embed_content_handler.py @@ -23,7 +23,6 @@ from litellm.types.utils import EmbeddingResponse from ..gemini.vertex_and_google_ai_studio_gemini import VertexLLM from .batch_embed_content_transformation import ( _is_file_reference, - _is_multimodal_input, process_embed_content_response, process_response, transform_openai_input_gemini_content, @@ -125,7 +124,7 @@ class GoogleBatchEmbeddings(VertexLLM): return resolved_files - def batch_embeddings( + def batch_embeddings( # noqa: PLR0915 self, model: str, input: EmbeddingInput,