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: add return type annotation for full mypy compliance
Arshdeep Singh471f011ae504
diff --git a/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio_union_fix.py b/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio_union_fix.pyindex ff31249665b..841288948d5 100644--- a/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio_union_fix.py+++ b/tests/test_litellm/proxy/guardrails/guardrail_hooks/test_presidio_union_fix.py@@ -15,7 +15,7 @@ class PiiAction(str, Enum):MASK = "MASK"-def test_presidio_union_type_fix():+def test_presidio_union_type_fix() -> None:"""Test that Union[PiiEntityType, str] allows both enum and string entity types"""# This is the core fix - mixed entity types in pii_entities_config