blob: 54e0fe63985dcdcf5972f636b7894bfce91168cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# frozen_string_literal: true
module API
module Entities
module Ml
module Mlflow
class Experiment < Grape::Entity
expose(:experiment_id) { |experiment| experiment.iid.to_s }
expose :name
expose(:lifecycle_stage) { |experiment| experiment.deleted_on? ? 'deleted' : 'active' }
expose(:artifact_location) { |experiment| 'not_implemented' }
end
end
end
end
end
|