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]

style: add missing PEP 8 blank line before top-level function

Ryan Crabbedcbac4a4af48
diff --git a/litellm/llms/openai/common_utils.py b/litellm/llms/openai/common_utils.py
index a05482c8004..28de9f1303e 100644
--- a/litellm/llms/openai/common_utils.py
+++ b/litellm/llms/openai/common_utils.py
@@ -23,6 +23,7 @@ from litellm.llms.custom_httpx.http_handler import (
get_ssl_configuration,
)
+
def _get_client_init_params(cls: type) -> Tuple[str, ...]:
"""Extract __init__ parameter names (excluding 'self') from a class."""
return tuple(p for p in inspect.signature(cls.__init__).parameters if p != "self") # type: ignore[misc]