debian-mirror-gitlab/lib/api/entities/ml/mlflow/run.rb

20 lines
413 B
Ruby
Raw Normal View History

2022-10-11 01:57:18 +05:30
# 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) }
2022-11-25 23:54:43 +05:30
expose :data do
expose :metrics, using: Metric
expose :params, using: RunParam
end
2022-10-11 01:57:18 +05:30
end
end
end
end
end
end