GeneratorOutput#
- class xsdata.models.config.GeneratorOutput(package='generated', format=<factory>, structure_style=StructureStyle.FILENAMES, docstring_style=DocstringStyle.RST, filter_strategy=ClassFilterStrategy.ALL_GLOBALS, relative_imports=False, compound_fields=<factory>, max_line_length=79, subscriptable_types=False, union_type=False, postponed_annotations=False, unnest_classes=False, ignore_patterns=False, include_header=False)[source]#
Generator output model representation.
- Parameters:
package (
str
) – Target packageformat (
OutputFormat
) – Output formatstructure_style (
StructureStyle
) – Output structure styledocstring_style (
DocstringStyle
) – Docstring stylefilter_strategy (
ClassFilterStrategy
) – Class filter strategyrelative_imports (
bool
) – Use relative importscompound_fields (
CompoundFields
) – Use compound fields for repeatable elementsmax_line_length (
int
) – Adjust the maximum line lengthsubscriptable_types (
bool
) – Use PEP-585 generics for standard collections, python>=3.9 Onlyunion_type (
bool
) – Use PEP-604 union type, python>=3.10 Onlypostponed_annotations (
bool
) – Enable postponed evaluation of annotationsunnest_classes (
bool
) – Move inner classes to upper levelignore_patterns (
bool
) – Ignore pattern restrictionsinclude_header (
bool
) – Include a header with codegen information in the output
- __eq__(other)#
Return self==value.
- __hash__ = None#