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.4/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.
-