summaryrefslogtreecommitdiff
path: root/lib/api/entities/ml/mlflow/run.rb
blob: 8b16c67611f8106ec5c2afe35c579cdcb6c38f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# frozen_string_literal: true

module API
  module Entities
    module Ml
      module Mlflow
        class Run < Grape::Entity
          expose :run do
            expose :itself, using: RunInfo, as: :info
            expose :data do
              expose :metrics, using: Metric
              expose :params, using: RunParam
            end
          end
        end
      end
    end
  end
end