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 options.
- Parameters:
value (
str
) – Output format namerepr (
bool
) – Generate __repr__ methodeq (
bool
) – Generate __eq__ methodorder (
bool
) – Generate __lt__, __le__, __gt__, and __ge__ methodsunsafe_hash (
bool
) – Generate __hash__ method if not frozenfrozen (
bool
) – Enable read only propertiesslots (
bool
) – Enable __slots__, python>=3.10 Onlykw_only (
bool
) – Enable keyword only arguments, python>=3.10 Only
- __eq__(other)
Return self==value.