code: def metric_alias(default=None):
      return schema_utils.StringOptions(
          options=list(DEFAULT_RESULT_KEYS)
          + [RAY_TUNE_DESULT_DEFAULT_METRIC],
          default=default,
          allow_none=default is None,
          description=(
              "The training result objective value attribute. Stopping procedures will use this attribute. If None but a "
              "mode was passed, the ray.tune.result.DEFAULT_METRIC will be used per default."
          ),
      )
  
imports: from abc import ABC
  from dataclasses import field
  from importlib import import_module
  from typing import Callable, Dict, Optional, Tuple, Union
  from marshmallow import fields, ValidationError
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.schema import utils
  from ludwig.schema.hyperopt import utils
  from ludwig.schema.utils import ludwig_dataclass
label_desc: Use image node_id 1 for calling a global function with example usage: metric_alias(default) and returns: schema_utils