mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-30 01:52:18 +00:00
fix(usage): suppress lit002 on ordered query params list
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
8d5499bced
commit
01a5db4194
1 changed files with 6 additions and 1 deletions
|
|
@ -968,7 +968,12 @@ def _build_aggregated_sql_query(
|
|||
|
||||
marker_params: Final = () if global_rollup_through is None else (global_rollup_through,)
|
||||
cursor_params: Final = () if cursor is None else (cursor.spend, cursor.api_key)
|
||||
return sql_query, [*where_params, PTU_SENTINEL_API_KEY, *marker_params, *cursor_params]
|
||||
return sql_query, [ # mutable-ok: prisma query_raw takes ordered $N params; tests assert list equality
|
||||
*where_params,
|
||||
PTU_SENTINEL_API_KEY,
|
||||
*marker_params,
|
||||
*cursor_params,
|
||||
]
|
||||
|
||||
|
||||
def _build_entity_rollup_sql_query(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue