mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-17 09:34:48 +00:00
test(files): type the fake raw query in the files list tests
This commit is contained in:
parent
ec1c55301e
commit
6aed454644
1 changed files with 1 additions and 1 deletions
|
|
@ -4985,7 +4985,7 @@ class _ManagedFileTableOverRows:
|
|||
rows: Final = ordered_rows[start:]
|
||||
return rows if take is None else rows[:take]
|
||||
|
||||
async def query_raw(self, query, *params):
|
||||
async def query_raw(self, query: str, *params: object) -> list[dict[str, object]]:
|
||||
keys_index: Final = next(index for index, param in enumerate(params) if isinstance(param, list))
|
||||
owner_ids: Final = frozenset(params[:keys_index])
|
||||
model_mapping_keys: Final = frozenset(params[keys_index])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue