refactor(proxy/utils.py): fix linting issue

This commit is contained in:
Krrish Dholakia 2024-01-23 17:22:22 -08:00
parent afada01ffc
commit 7b5e3b9934
2 changed files with 2 additions and 1 deletions

View file

@ -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,

View file

@ -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}},