@utils.positional(<NUM_LIT:1> + _positional)<EOL><INDENT>def __init__(self, enum_type, name=None, default=None, choices=None, **kwds):<DEDENT>
self._enum_type = enum_type<EOL>if default is not None:<EOL><INDENT>self._validate(default)<EOL><DEDENT>if choices is not None:<EOL><INDENT>map(self._validate, choices)<EOL><DEDENT>super(EnumProperty, self).__init__(name, default=default,<EOL>choices=choices, **kwds)<EOL>
Constructor.

        Args:
          enum_type: A subclass of protorpc.messages.Enum.
          name: Optional datastore name (defaults to the property name).

        Additional keywords arguments specify the same options as
        supported by IntegerProperty.