code: def time_attr_alias(default=TRAINING_ITERATION):
      return schema_utils.StringOptions(
          options=list(DEFAULT_RESULT_KEYS),
          default=default,
          allow_none=False,
          description=(
              "A training result attr to use for comparing time. Note that you can pass in something non-temporal such as"
              " training_iteration as a measure of progress, the only requirement is that the attribute should increase "
              "monotonically."
          ),
      )
  
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 2 for calling a global function with example usage: time_attr_alias(default) and returns: schema_utils