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: fix linting error
Krrish Dholakiab014614b6528
diff --git a/litellm/proxy/management_helpers/utils.py b/litellm/proxy/management_helpers/utils.pyindex e25208a216a..3eab4444181 100644--- a/litellm/proxy/management_helpers/utils.py+++ b/litellm/proxy/management_helpers/utils.py@@ -1,6 +1,5 @@# What is this?## Helper utils for the management endpoints (keys/users/teams)-from litellm._uuid import uuidfrom datetime import datetimefrom functools import wrapsfrom typing import Optional, Tuple@@ -9,6 +8,7 @@ from fastapi import HTTPException, Requestimport litellmfrom litellm._logging import verbose_logger+from litellm._uuid import uuidfrom litellm.proxy._types import ( # key request types; user request types; team request types; customer request typesDeleteCustomerRequest,DeleteTeamRequest,@@ -36,7 +36,7 @@ def get_new_internal_user_defaults(user_info = litellm.default_internal_user_params or {}returned_dict: SSOUserDefinedValues = {- "models": user_info.get("models", None),+ "models": user_info.get("models") or [],"max_budget": user_info.get("max_budget", litellm.max_internal_user_budget),"budget_duration": user_info.get("budget_duration", litellm.internal_user_budget_duration