code: def DEFINE_enum(  # pylint: disable=g-bad-name,redefined-builtin
      name, default, enum_values, help, flag_values=FLAGS, module_name=None,
      **args):
    
    DEFINE_flag(EnumFlag(name, default, help, enum_values, ** args),
                flag_values, module_name)
docs: Registers a flag whose value can be any string from enum_values.
  
    Args:
      name: A string, the flag name.
      default: The default value of the flag.
      enum_values: A list of strings with the possible values for the flag.
      help: A help string.
      flag_values: FlagValues object with which the flag will be registered.
      module_name: A string, the name of the Python module declaring this flag.
          If not provided, it will be computed using the stack trace of this call.
      **args: Dictionary with extra keyword args that are passed to the
          Flag __init__.