code: def default(self):
          
          try:
              return self.__resolved_default
          except AttributeError:
              resolved_default = super(EnumField, self).default
              if isinstance(resolved_default, (six.string_types,
                                               six.integer_types)):
                  # pylint:disable=not-callable
                  resolved_default = self.type(resolved_default)
              self.__resolved_default = resolved_default
              return self.__resolved_default
docs: Default for enum field.
  
          Will cause resolution of Enum type and unresolved default value.