code: def convert_mt_observations(
      observations: List[Observation], experiment: MultiTypeExperiment
  ) -> List[Observation]:
      """Apply ConvertMetricNames transform to observations for a MT experiment."""
      transform = ConvertMetricNames(
          search_space=None,
          observations=observations,
          config=tconfig_from_mt_experiment(experiment),
      )
      transformed_observations = transform.transform_observations(
          observations=observations
      )
      return transformed_observations
  
file_path: Ax/ax/modelbridge/transforms/convert_metric_names.py
imports: from typing import Dict, List, Optional, TYPE_CHECKING
  from ax.core.multi_type_experiment import MultiTypeExperiment
  from ax.core.observation import Observation, ObservationData
  from ax.core.search_space import SearchSpace
  from ax.modelbridge.transforms.base import Transform
  from ax.models.types import TConfig
  from ax.utils.common.docutils import copy_doc
  from ax.utils.common.typeutils import not_none
label_desc: Use image node_id 2 for calling a global function with example usage: convert_mt_observations(observations, experiment) and returns: transformed_observations