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 linting - remove # noqa PLR0915 from fixed function

Ishaan Jaffbcce21a5b056
diff --git a/litellm/caching/caching.py b/litellm/caching/caching.py
index 85fbe32345f..f845633cb90 100644
--- a/litellm/caching/caching.py
+++ b/litellm/caching/caching.py
@@ -233,7 +233,7 @@ class Cache:
if self.namespace is not None and isinstance(self.cache, RedisCache):
self.cache.namespace = self.namespace
- def get_cache_key(self, *args, **kwargs) -> str: # noqa: PLR0915
+ def get_cache_key(self, *args, **kwargs) -> str:
"""
Get the cache key for the given arguments.