forked from phoenix/litellm-mirror
fix(proxy_server.py): fix linting error
This commit is contained in:
parent
ad43138f28
commit
34790c7e12
1 changed files with 2 additions and 2 deletions
|
@ -4041,8 +4041,8 @@ async def generate_key_fn(
|
||||||
_budget = await prisma_client.db.litellm_budgettable.create(
|
_budget = await prisma_client.db.litellm_budgettable.create(
|
||||||
data={
|
data={
|
||||||
**new_budget, # type: ignore
|
**new_budget, # type: ignore
|
||||||
"created_by": user_api_key_dict.user_id,
|
"created_by": user_api_key_dict.user_id or litellm_proxy_admin_name,
|
||||||
"updated_by": user_api_key_dict.user_id,
|
"updated_by": user_api_key_dict.user_id or litellm_proxy_admin_name,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
_budget_id = getattr(_budget, "budget_id", None)
|
_budget_id = getattr(_budget, "budget_id", None)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue