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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(caching): wrap the DualCache fixture line to the 120 character limit
yassina4e34d6e1b99
diff --git a/tests/test_litellm/caching/test_dual_cache.py b/tests/test_litellm/caching/test_dual_cache.pyindex 6f29be00b30..95395878c25 100644--- a/tests/test_litellm/caching/test_dual_cache.py+++ b/tests/test_litellm/caching/test_dual_cache.py@@ -726,7 +726,10 @@ async def test_redis_timeouts_falling_back_to_memory_log_once_per_interval(caploasync def async_increment(self, key, value, **kwargs):raise RedisTimeoutError("Timeout reading from 127.0.0.1:6379")- cache = DualCache(in_memory_cache=InMemoryCache(), redis_cache=_TimingOutRedis()) # pyright: ignore[reportArgumentType] # duck-typed Redis double+ cache = DualCache(+ in_memory_cache=InMemoryCache(),+ redis_cache=_TimingOutRedis(), # pyright: ignore[reportArgumentType] # duck-typed Redis double+ )increments = [RedisPipelineIncrementOperation(key="k", increment_value=1.0, ttl=60)]with caplog.at_level(logging.DEBUG, logger="LiteLLM"):