summaryrefslogtreecommitdiff
path: root/lib/api/entities/ml/mlflow/run_info.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/ml/mlflow/run_info.rb')
-rw-r--r--lib/api/entities/ml/mlflow/run_info.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/entities/ml/mlflow/run_info.rb b/lib/api/entities/ml/mlflow/run_info.rb
index d3934545ba4..60e4416e011 100644
--- a/lib/api/entities/ml/mlflow/run_info.rb
+++ b/lib/api/entities/ml/mlflow/run_info.rb
@@ -10,6 +10,7 @@ module API
expose(:experiment_id) { |candidate| candidate.experiment.iid.to_s }
expose(:start_time) { |candidate| candidate.start_time || 0 }
expose :end_time, expose_nil: false
+ expose :name, as: :run_name, expose_nil: false
expose(:status) { |candidate| candidate.status.to_s.upcase }
expose(:artifact_uri) { |candidate, options| "#{options[:packages_url]}#{candidate.artifact_root}" }
expose(:lifecycle_stage) { |candidate| 'active' }