xsdata.codegen.parsers.definitions module

class xsdata.codegen.parsers.definitions.DefinitionsParser(config=<factory>, context=<factory>, handler=<class 'xsdata.formats.dataclass.parsers.handlers.lxml.LxmlEventHandler'>, index=<factory>, indices=<factory>, location=None, target_namespace=None, default_attributes=None, default_open_content=None)[source]

Bases: xsdata.codegen.parsers.schema.SchemaParser

A simple parser to convert a wsdl to an easy to handle data structure based on dataclasses.

Parameters
end_definitions(obj)[source]

Normalize various properties for the schema and it’s children.

Parameters

obj (~T) –

index: int
indices: List[int]