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
add docstring for DBSpendUpdateTransactions
Ishaan Jaffdf136c5689af
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.pyindex 1c3251c12aa..24beef6b63f 100644--- a/litellm/proxy/_types.py+++ b/litellm/proxy/_types.py@@ -2736,6 +2736,10 @@ class DailyUserSpendTransaction(TypedDict):class DBSpendUpdateTransactions(TypedDict):+ """+ Internal Data Structure for buffering spend updates in Redis or in memory before committing them to the database+ """+user_list_transactions: Optional[Dict[str, float]]end_user_list_transactions: Optional[Dict[str, float]]key_list_transactions: Optional[Dict[str, float]]