From 6aed454644b6f07eb6bfcff103e54bae6a0a7f8b Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Wed, 21 Oct 2026 02:59:21 -0700 Subject: [PATCH] test(files): type the fake raw query in the files list tests --- tests/unit/proxy/openai_files_endpoint/test_files_endpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/proxy/openai_files_endpoint/test_files_endpoint.py b/tests/unit/proxy/openai_files_endpoint/test_files_endpoint.py index 4937c1da826..179a4d0402f 100644 --- a/tests/unit/proxy/openai_files_endpoint/test_files_endpoint.py +++ b/tests/unit/proxy/openai_files_endpoint/test_files_endpoint.py @@ -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])