Skip to content

Commit 36ec01e

Browse files
committed
added func description
1 parent a391bcb commit 36ec01e

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

src/webapp/routers/models.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -697,13 +697,14 @@ def backfill_model_runs(
697697
stmt = (
698698
update(JobTable)
699699
.where(JobTable.model_id == model_id[0][0].id)
700-
.where(or_(
701-
JobTable.model_run_id.is_(None),
702-
JobTable.model_run_id == "",
703-
JobTable.model_version.is_(None),
704-
JobTable.model_version == "",
700+
.where(
701+
or_(
702+
JobTable.model_run_id.is_(None),
703+
JobTable.model_run_id == "",
704+
JobTable.model_version.is_(None),
705+
JobTable.model_version == "",
706+
)
705707
)
706-
)
707708
.values(model_run_id=mv_run_id, model_version=mv_version)
708709
)
709710
result = local_session.get().execute(stmt)

0 commit comments

Comments
 (0)