chore(live): record why the group-limit comprehension spans two loops

This commit is contained in:
jibanez-staticduo 2026-09-30 14:08:29 +02:00
parent a3f10ec09c
commit 06b2d76c24
No known key found for this signature in database

View file

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