Skip to content

Commit 380da62

Browse files
fix: Change from Any,Any to str,Any as search returns columns to value mapping
1 parent 8d00976 commit 380da62

File tree

1 file changed

+1
-1
lines changed
  • diracx-db/src/diracx/db/sql/utils

1 file changed

+1
-1
lines changed

diracx-db/src/diracx/db/sql/utils/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ async def _search(
241241
distinct: bool = False,
242242
per_page: int = 100,
243243
page: int | None = None,
244-
) -> tuple[int, list[dict[Any, Any]]]:
244+
) -> tuple[int, list[dict[str, Any]]]:
245245
"""Search for elements in a table."""
246246
# Find which columns to select
247247
columns = _get_columns(table.__table__, parameters)

0 commit comments

Comments
 (0)