mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
style: apply ruff format
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
54bee11778
commit
aa16b12be1
2 changed files with 1 additions and 5 deletions
|
|
@ -1176,7 +1176,6 @@ async def get_end_user_object(
|
|||
if _response is None:
|
||||
raise Exception
|
||||
|
||||
|
||||
# Apply default budget if needed
|
||||
_response = await _apply_default_budget_to_end_user(
|
||||
end_user_obj=_response,
|
||||
|
|
@ -2150,7 +2149,6 @@ async def get_access_object(
|
|||
detail={"error": f"Access group doesn't exist in db. Access group={access_group_id}."},
|
||||
)
|
||||
|
||||
|
||||
# Save to cache
|
||||
await _cache_access_object(
|
||||
access_group_id=access_group_id,
|
||||
|
|
|
|||
|
|
@ -96,9 +96,7 @@ class PrismaTableActions(Protocol):
|
|||
self, *, data: Mapping[str, object], include: Mapping[str, object] | None = None
|
||||
) -> PrismaRecord: ...
|
||||
|
||||
async def update(
|
||||
self, *, where: Mapping[str, object], data: Mapping[str, object]
|
||||
) -> PrismaRecord | None: ...
|
||||
async def update(self, *, where: Mapping[str, object], data: Mapping[str, object]) -> PrismaRecord | None: ...
|
||||
|
||||
async def delete(self, *, where: Mapping[str, object]) -> PrismaRecord | None: ...
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue