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: ruff format customer_endpoints.py
cat0825c12b2e82f74d
diff --git a/litellm/proxy/management_endpoints/customer_endpoints.py b/litellm/proxy/management_endpoints/customer_endpoints.pyindex 4127bc973e4..6efb3365cd9 100644--- a/litellm/proxy/management_endpoints/customer_endpoints.py+++ b/litellm/proxy/management_endpoints/customer_endpoints.py@@ -553,10 +553,7 @@ async def update_end_user(# get non default values for keynon_default_values = {}for k, v in data_json.items():- if v is not None and (- (isinstance(v, bool) and k in data.fields_set())- or v not in ([], {}, 0)- ):+ if v is not None and ((isinstance(v, bool) and k in data.fields_set()) or v not in ([], {}, 0)):non_default_values[k] = v## Get end user table data ##