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

21 lines
455 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
2023-01-13 00:05:48 +05:30
expose :itself, using: RunInfo, as: :info
2022-11-25 23:54:43 +05:30
expose :data do
expose :metrics, using: Metric
2023-03-04 22:38:38 +05:30
expose :params, using: KeyValue
expose :metadata, as: :tags, using: KeyValue
2022-11-25 23:54:43 +05:30
end
2022-10-11 01:57:18 +05:30
end
end
end
end
end
end