xsdata.formats.dataclass.generator module¶
-
class
xsdata.formats.dataclass.generator.DataclassGenerator[source]¶ Bases:
xsdata.formats.generators.PythonAbstractGenerator-
templates_dir: Optional[pathlib.Path] = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/xsdata/envs/v20.5/lib/python3.7/site-packages/xsdata/formats/dataclass/templates')¶
-
render(classes)[source]¶ Given a list of classes return to the writer factory the target file path full module path and the rendered code.
-
render_module(resolver, classes)[source]¶ - Parameters
resolver (
DependenciesResolver) –
- Return type
-