We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0169bd9 commit fa2383dCopy full SHA for fa2383d
src/webapp/routers/models.py
@@ -362,8 +362,9 @@ def read_inst_model_outputs(
362
# TODO make a query to databricks to retrieve status.
363
ret_val.append(
364
{
365
- "inst_id": uuid_to_str(elem.inst_id),
366
- "m_name": elem.name,
+ # JobTable doesn't have inst_id, so we retrieve that from the model query.
+ "inst_id": uuid_to_str(query_result[0][0].inst_id),
367
+ "m_name": query_result[0][0].name,
368
"run_id": elem.id,
369
"created_by": uuid_to_str(elem.created_by),
370
"triggered_at": elem.triggered_at,
0 commit comments