code: def _convert_metadata(
      input: h2o_mlops_client.IngestMetadata,
  ) -> h2o_mlops_client.StorageMetadata:
      values = {}
      for k, v in input.values.items():
          i: h2o_mlops_client.IngestMetadataValue = v
  
          o = h2o_mlops_client.StorageValue(
              bool_value=i.bool_value,
              double_value=i.double_value,
              duration_value=i.duration_value,
              int64_value=i.int64_value,
              string_value=i.string_value,
              json_value=i.json_value,
              timestamp_value=i.timestamp_value,
          )
  
          values[k] = o
  
      return h2o_mlops_client.StorageMetadata(values=values)
  
imports: import h2o.h2o
  from .connect import *
  from .utils import *
  from .status import _is_model_published
  from .deploy import deploy
  import warnings
  import os
  import mimetypes
  import h2o_mlops_client
  import h2o_cloud_extensions
label_desc: Use image node_id 6 for calling a global function with example usage: _convert_metadata(input) and returns: h2o_mlops_client