mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
refactor(proxy/utils.py): fix linting issue
This commit is contained in:
parent
afada01ffc
commit
7b5e3b9934
2 changed files with 2 additions and 1 deletions
|
|
@ -1133,6 +1133,7 @@ async def generate_key_helper_fn(
|
|||
key_max_budget: Optional[float] = None, # key_max_budget is used to Budget Per key
|
||||
key_budget_duration: Optional[str] = None,
|
||||
max_budget: Optional[float] = None, # max_budget is used to Budget Per user
|
||||
budget_duration: Optional[str] = None, # max_budget is used to Budget Per user
|
||||
token: Optional[str] = None,
|
||||
user_id: Optional[str] = None,
|
||||
team_id: Optional[str] = None,
|
||||
|
|
|
|||
|
|
@ -399,7 +399,7 @@ class PrismaClient:
|
|||
and reset_at is not None
|
||||
):
|
||||
response = await self.db.litellm_verificationtoken.find_many(
|
||||
where={
|
||||
where={ # type:ignore
|
||||
"OR": [
|
||||
{"expires": None},
|
||||
{"expires": {"gt": expires}},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue