mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-23 22:07:29 +00:00
fix(team): drop a redundant None check on a non-nullable allowed_models column
This commit is contained in:
parent
f04f0258f7
commit
f16c4e7a22
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ def _audited_member_budget(row: "prisma_models.LiteLLM_TeamMembership") -> _Audi
|
|||
rpm_limit=budget.rpm_limit,
|
||||
budget_duration=budget.budget_duration,
|
||||
budget_reset_at=budget.budget_reset_at,
|
||||
allowed_models=tuple(budget.allowed_models) if budget.allowed_models is not None else None,
|
||||
allowed_models=tuple(budget.allowed_models),
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue