From ead2127cca7987552e4f9d7a3665a69929e583ce Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 17 Oct 2024 08:22:34 -0700 Subject: [PATCH] try scalars --- app/dao/jobs_dao.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/dao/jobs_dao.py b/app/dao/jobs_dao.py index bbf8606c5..f44624736 100644 --- a/app/dao/jobs_dao.py +++ b/app/dao/jobs_dao.py @@ -237,7 +237,7 @@ def find_jobs_with_missing_rows(): .having(func.count(Notification.id) != Job.notification_count) ) - return db.session.execute(jobs_with_rows_missing).scalar().all() + return db.session.execute(jobs_with_rows_missing).scalars().all() def find_missing_row_for_job(job_id, job_size):