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
fix(redis): satisfy lint budget for log helper
eugene-yao-zocdocf304b2ba7b18
diff --git a/litellm/_redis.py b/litellm/_redis.pyindex c33ae45e988..4cf903c4a2e 100644--- a/litellm/_redis.py+++ b/litellm/_redis.py@@ -12,7 +12,7 @@ import json# s/o [@Frank Colson](https://www.linkedin.com/in/frank-colson-422b9b183/) for this redis implementationimport os-from collections.abc import Callable+from collections.abc import Callable, Mappingfrom typing import Finalfrom urllib.parse import urlsplit, urlunsplit@@ -764,7 +764,7 @@ def get_redis_connection_pool(return async_redis.BlockingConnectionPool(timeout=REDIS_CONNECTION_POOL_TIMEOUT, **redis_kwargs)-def _redis_kwargs_for_logging(redis_kwargs: dict) -> dict:+def _redis_kwargs_for_logging(redis_kwargs: Mapping[str, object]) -> Mapping[str, object]:return {key: "<credential provider>"if key == "credential_provider" and value is not None