19 lines
413 B
Ruby
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
|