Skip to content

Commit dbb00ff

Browse files
Merge pull request #180 from datakind/AdjustModelRunOutput
feat: adjusted run output endpoint to return model_run_id
2 parents d400f26 + 20bd5f5 commit dbb00ff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/webapp/routers/models.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,8 @@ def read_inst_model_outputs(
365365
"inst_id": uuid_to_str(query_result[0][0].inst_id),
366366
"m_name": query_result[0][0].name,
367367
"run_id": elem.id,
368+
"model_run_id": elem.model_run_id,
369+
"model_version": elem.model_version,
368370
"created_by": uuid_to_str(elem.created_by),
369371
"triggered_at": elem.triggered_at,
370372
"batch_name": elem.batch_name,

0 commit comments

Comments
 (0)