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 name, default: dataclassesrepr (
bool
) – Generate __repr__ method, default: trueeq (
bool
) – Generate __eq__ method, default: trueorder (
bool
) – Generate __lt__, __le__, __gt__, and __ge__ methods, default: falseunsafe_hash (
bool
) – Generate __hash__ method if not frozen, default: falsefrozen (
bool
) – Enable read only properties, default falseslots (
bool
) – Enable __slots__, default: false, python>=3.10 Onlykw_only (
bool
) – Enable keyword only arguments, default: false, python>=3.10 Only
- __eq__(other)#
Return self==value.
- __hash__ = None#