chore(proxy): suppress LIT001 on early reconcile reservation dict

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
yassin 2026-09-08 22:22:15 +00:00
parent 6a42c661fd
commit 23d54924d1

View file

@ -656,7 +656,10 @@ async def _update_database_and_spend_counters(
return True
async def _reconcile_budget_reservation_before_db_update(budget_reservation: dict, response_cost: float) -> None:
async def _reconcile_budget_reservation_before_db_update(
budget_reservation: dict, # mutable-ok: reconcile_budget_reservation stamps applied_adjustment on the caller's shared reservation dict
response_cost: float,
) -> None:
from litellm.proxy.spend_tracking.budget_reservation import reconcile_budget_reservation
try: