GeneratorOutput

class xsdata.models.config.GeneratorOutput(wsdl=False, max_line_length=79, package='generated', format=<OutputFormat.DATACLASS: 'pydata'>, structure=<OutputStructure.FILENAMES: 'filenames'>, docstring_style=<DocstringStyle.RST: 'reStructuredText'>, compound_fields=False)[source]

Main generator output options.

Parameters
  • wsdl (bool) – Enable wsdl mode

  • max_line_length (int) – Maximum line length

  • package (str) – Package name eg foo.bar.models

  • format (OutputFormat) – Select an output format

  • structure (OutputStructure) – Select an output structure

  • docstring_style (DocstringStyle) – Select a docstring style

  • compound_fields (bool) – Use compound fields for repeating choices. Enable if elements ordering matters for your case.