OutputFormat#

class xsdata.models.config.OutputFormat(value='dataclasses', repr=True, eq=True, order=False, unsafe_hash=False, frozen=False, slots=False, kw_only=False)[source]#

Output format model representation.

Parameters:
  • value (str) – Output format name

  • repr (bool) – Generate __repr__ method

  • eq (bool) – Generate __eq__ method

  • order (bool) – Generate __lt__, __le__, __gt__, and __ge__ methods

  • unsafe_hash (bool) – Generate __hash__ method

  • frozen (bool) – Enable read only properties

  • slots (bool) – Enable __slots__, python>=3.10 Only

  • kw_only (bool) – Enable keyword only arguments, python>=3.10 Only

__post_init__()[source]#

Post initialization method.

validate()[source]#

Validate and reset configuration conflicts.

__eq__(other)#

Return self==value.

__hash__ = None#