debian-mirror-gitlab/lib/api/entities/ml/mlflow/run.rb
2022-11-25 23:54:43 +05:30

19 lines
413 B
Ruby

# frozen_string_literal: true
module API
module Entities
module Ml
module Mlflow
class Run < Grape::Entity
expose :run do
expose(:info) { |candidate| RunInfo.represent(candidate) }
expose :data do
expose :metrics, using: Metric
expose :params, using: RunParam
end
end
end
end
end
end
end