mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-14 09:03:16 +00:00
test(alerts): support budget regression on Python 3.12
This commit is contained in:
parent
da2a44bf1f
commit
2cc807cec4
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class _BudgetDatabase:
|
|||
self.lease_rollback_cancelled = False
|
||||
|
||||
@asynccontextmanager
|
||||
async def tx(self, *, max_wait: timedelta, timeout: timedelta) -> AsyncGenerator[AnalyticsTransaction]:
|
||||
async def tx(self, *, max_wait: timedelta, timeout: timedelta) -> AsyncGenerator[AnalyticsTransaction, None]:
|
||||
transaction: Final = _BudgetTransaction(self, self.transactions)
|
||||
self.transactions += 1
|
||||
self.active += 1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue