docs: def enum(description, **kwargs) -> typing.Type:
      """Create a :class:`~doctor.types.Enum` type.
  
      :param description: A description of the type.
      :param kwargs: Can include any attribute defined in
          :class:`~doctor.types.Enum`
      """
      kwargs['description'] = description
      return type('Enum', (Enum,), kwargs)