Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(batches): suppress PLR0915 lint for create_batch dispatch function

Ryan Crabbe35d2bc382f01
diff --git a/litellm/batches/main.py b/litellm/batches/main.py
index e73f73d2f33..e69c5a5c377 100644
--- a/litellm/batches/main.py
+++ b/litellm/batches/main.py
@@ -154,7 +154,7 @@ async def acreate_batch(
@client
-def create_batch(
+def create_batch( # noqa: PLR0915
completion_window: Literal["24h"],
endpoint: Literal["/v1/chat/completions", "/v1/embeddings", "/v1/completions"],
input_file_id: str,