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 Oct 9, 2023
1 parent 9779950 commit 682fde5
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions src/backend/app/tasks/tasks_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,13 @@ async def task_features_count(
result = db.execute(feature_count_query)
feature_count = result.fetchone()

data.append({
'task_id': x['xmlFormId'],
'submission_count': x['submissions'],
'last_submission': x['lastSubmission'],
'feature_count': feature_count['count']
})
data.append(
{
"task_id": x["xmlFormId"],
"submission_count": x["submissions"],
"last_submission": x["lastSubmission"],
"feature_count": feature_count["count"],
}
)

return data

0 comments on commit 682fde5

Please sign in to comment.