Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 12, 2024
1 parent 27c70bf commit 2178000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diracx-db/src/diracx/db/sql/task_queue/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ async def get_tq_infos_for_jobs(
.join(JobsQueue, TaskQueues.TQId == JobsQueue.TQId)
.where(JobsQueue.JobId.in_(job_ids))
)
return set(
return {
(int(row[0]), str(row[1]), str(row[2]), str(row[3]))
for row in (await self.conn.execute(stmt)).all()
)
}

async def get_owner_for_task_queue(self, tq_id: int) -> dict[str, str]:
"""Get the owner and owner group for a task queue."""
Expand Down

0 comments on commit 2178000

Please sign in to comment.