File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -649,7 +649,7 @@ def backfill_model_runs(
649649 Temporary endpoint to populate model_run_id and model_version on existing jobs for this model.
650650 Use only when backfilling historical job runs, not for regular operation.
651651 """
652- transformed_model_name = str (decode_url_piece (model_name )).strip ()
652+ model_name = str (decode_url_piece (model_name )).strip ()
653653 has_access_to_inst_or_err (inst_id , current_user )
654654
655655 # Load institution
@@ -666,7 +666,7 @@ def backfill_model_runs(
666666 select (ModelTable ).where (
667667 and_ (
668668 ModelTable .inst_id == str_to_uuid (inst_id ),
669- ModelTable .name == f" { inst_row [ 0 ][ 0 ]. name } " ,
669+ ModelTable .name == model_name ,
670670 )
671671 )
672672 )
@@ -687,7 +687,7 @@ def backfill_model_runs(
687687 latest_mv = databricks_control .fetch_model_version (
688688 catalog_name = str (env_vars ["CATALOG_NAME" ]),
689689 inst_name = f"{ inst_row [0 ][0 ].name } " ,
690- model_name = transformed_model_name ,
690+ model_name = model_name ,
691691 )
692692
693693 mv_version = str (latest_mv .version )
You can’t perform that action at this time.
0 commit comments