We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdeabdf commit 6b6e2c7Copy full SHA for 6b6e2c7
diracx-db/src/diracx/db/sql/job/db.py
@@ -34,7 +34,7 @@ class JobDB(BaseSQLDB):
34
35
async def summary(self, group_by, search) -> list[dict[str, str | int]]:
36
"""Get a summary of the jobs."""
37
- columns = _get_columns(Jobs.__table__, group_by)
+ columns = get_columns(Jobs.__table__, group_by)
38
39
stmt = select(*columns, func.count(Jobs.job_id).label("count"))
40
stmt = apply_search_filters(Jobs.__table__.columns.__getitem__, stmt, search)
0 commit comments