code: def get_metrics_for_type(
      feature_type: str,
  ) -> Dict[str, "LudwigMetric"]:  # noqa
      return get_metric_feature_type_registry()[feature_type]
  
file_path: ludwig/ludwig/modules/metric_registry.py
imports: from typing import Dict, List, Literal, TYPE_CHECKING, Union
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.constants import LOGITS, MAXIMIZE, MINIMIZE, PREDICTIONS, PROBABILITIES, RESPONSE
  from ludwig.utils.registry import Registry
label_desc: Use image node_id 7 for calling a global function with example usage: get_metrics_for_type(feature_type) and returns: get_metric_feature_type_registry