From df136c5689af818ed44c1b7c28d8eb3cdc66f769 Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Fri, 28 Mar 2025 15:20:28 -0700 Subject: [PATCH] add docstring for DBSpendUpdateTransactions --- litellm/proxy/_types.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index 1c3251c12a..24beef6b63 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]]