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
style: apply ruff format to budget limits comprehension
Thijmen Stavenuiterffd23ab1319d
diff --git a/litellm/proxy/management_endpoints/key_management_endpoints.py b/litellm/proxy/management_endpoints/key_management_endpoints.pyindex 46d7f617352..170b431c1e2 100644--- a/litellm/proxy/management_endpoints/key_management_endpoints.py+++ b/litellm/proxy/management_endpoints/key_management_endpoints.py@@ -3599,8 +3599,7 @@ async def _budget_limits_with_usage(budget_limits: object, api_key_hash: str) ->if windows is None:return Nonereturn [ # mutable-ok: entries are awaited, so they cannot be built inside a frozen wrapper- await _budget_limits_entry_with_usage(window=window, api_key_hash=api_key_hash)- for window in windows+ await _budget_limits_entry_with_usage(window=window, api_key_hash=api_key_hash) for window in windows]