GeneratorConfig#

class xsdata.models.config.GeneratorConfig(output=<factory>, conventions=<factory>, substitutions=<factory>, extensions=<factory>)[source]#

Generator configuration model representation.

Parameters:
version#

The xsdata version number the config was created/updated

class Meta[source]#

Metadata options.

classmethod create()[source]#

Initialize with default substitutions for common namespaces.

Return type:

GeneratorConfig

classmethod read(path)[source]#

Load configuration from a file path.

Return type:

GeneratorConfig

classmethod write(output, obj)[source]#

Write the configuration to the output stream as xml.

__eq__(other)#

Return self==value.

__hash__ = None#