mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
chore(live): record why the group-limit comprehension spans two loops
This commit is contained in:
parent
a3f10ec09c
commit
06b2d76c24
1 changed files with 1 additions and 0 deletions
|
|
@ -881,6 +881,7 @@ async def _live_fetch_group_limits(groups: tuple[str, ...]) -> tuple[LiteLLM_Bud
|
|||
rows: Final = tuple(
|
||||
[
|
||||
row
|
||||
# comprehension-ok: one iteration per IN_LIST_CHUNK_SIZE slice of group names
|
||||
for start in range(0, len(unique_groups), IN_LIST_CHUNK_SIZE)
|
||||
for row in await table.find_many(
|
||||
where={ # mutable-ok: Prisma serializes query filters from concrete dictionaries
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue