diff options
Diffstat (limited to 'lib/api/entities/ml/mlflow/metric.rb')
-rw-r--r-- | lib/api/entities/ml/mlflow/metric.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/api/entities/ml/mlflow/metric.rb b/lib/api/entities/ml/mlflow/metric.rb new file mode 100644 index 00000000000..963aaa5f144 --- /dev/null +++ b/lib/api/entities/ml/mlflow/metric.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +module API + module Entities + module Ml + module Mlflow + class Metric < Grape::Entity + expose :name, as: :key + expose :value + expose :tracked_at, as: :timestamp + expose :step, expose_nil: false + end + end + end + end +end |