Skip to content

Commit 6b6e2c7

Browse files
committed
fix: rename _get_columns to get_columns
1 parent fdeabdf commit 6b6e2c7

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

diracx-db/src/diracx/db/sql/job/db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class JobDB(BaseSQLDB):
3434

3535
async def summary(self, group_by, search) -> list[dict[str, str | int]]:
3636
"""Get a summary of the jobs."""
37-
columns = _get_columns(Jobs.__table__, group_by)
37+
columns = get_columns(Jobs.__table__, group_by)
3838

3939
stmt = select(*columns, func.count(Jobs.job_id).label("count"))
4040
stmt = apply_search_filters(Jobs.__table__.columns.__getitem__, stmt, search)

0 commit comments

Comments
 (0)