diff options
Diffstat (limited to 'lib/api/entities/ml/mlflow/new_experiment.rb')
-rw-r--r-- | lib/api/entities/ml/mlflow/new_experiment.rb | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/api/entities/ml/mlflow/new_experiment.rb b/lib/api/entities/ml/mlflow/new_experiment.rb new file mode 100644 index 00000000000..09791839850 --- /dev/null +++ b/lib/api/entities/ml/mlflow/new_experiment.rb @@ -0,0 +1,19 @@ +# frozen_string_literal: true + +module API + module Entities + module Ml + module Mlflow + class NewExperiment < Grape::Entity + expose :experiment_id + + private + + def experiment_id + object.iid.to_s + end + end + end + end + end +end |