code: def compose_metric_key(
      namespace: MetricNamespaceBase,
      task_name: str,
      metric_name: MetricNameBase,
      metric_prefix: MetricPrefix = MetricPrefix.DEFAULT,
      description: Optional[str] = None,
  ) -> str:
      r"""Get the metric key based on the input parameters"""
      return compose_customized_metric_key(
          compose_metric_namespace(namespace, task_name),
          f"{metric_prefix}{metric_name}",
          description,
      )
  
imports: from enum import Enum
  from typing import Optional
label_desc: Use image node_id 4 for calling a global function with example usage: compose_metric_key(namespace, task_name, metric_name, metric_prefix, description) and returns: compose_customized_metric_key