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
) – Name of the formatrepr (
bool
) – Generate repr methodseq (
bool
) – Generate equal methodorder (
bool
) – Generate rich comparison methodsunsafe_hash (
bool
) – Generate hash method when frozen is falsefrozen (
bool
) – Enable read only properties with immutable containersslots (
bool
) – Enable __slots__, python >= 3.10kw_only (
bool
) – Enable keyword only constructor arguments, python >= 3.10