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(redis): explain debug logger patch
eugene-yao-zocdoc6dff830343b2
diff --git a/tests/test_litellm/test_redis.py b/tests/test_litellm/test_redis.pyindex 0961357731d..70b972d3259 100644--- a/tests/test_litellm/test_redis.py+++ b/tests/test_litellm/test_redis.py@@ -419,7 +419,9 @@ def test_redis_cache_key_does_not_inspect_provider(clear_llm_client_cache):def test_pretty_print_never_expands_credential_provider(capsys):secret = "aaaa-UNIQUE-SENTINEL-bbbb"- with patch("litellm._redis.verbose_logger.isEnabledFor", return_value=True):+ with patch( # test-quality-ok: enable the debug-only printer without changing process-wide logger state+ "litellm._redis.verbose_logger.isEnabledFor", return_value=True+ ):_pretty_print_redis_config(redis_kwargs={"host": "redis-host",