diff options
Diffstat (limited to 'lib/api/ml/mlflow.rb')
-rw-r--r-- | lib/api/ml/mlflow.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/api/ml/mlflow.rb b/lib/api/ml/mlflow.rb index 54bbe0ee465..e7ed8e2e70c 100644 --- a/lib/api/ml/mlflow.rb +++ b/lib/api/ml/mlflow.rb @@ -166,9 +166,10 @@ module API default: 0 optional :user_id, type: String, desc: 'This will be ignored' optional :tags, type: Array, desc: 'Tags are stored, but not displayed' + optional :run_name, type: String, desc: 'A name for this run' end post 'create', urgency: :low do - present candidate_repository.create!(experiment, params[:start_time], params[:tags]), + present candidate_repository.create!(experiment, params[:start_time], params[:tags], params[:run_name]), with: Entities::Ml::Mlflow::Run, packages_url: packages_url end |