native
xsdata.formats.dataclass.serializers.tree.native
XmlTreeSerializer
dataclass
Bases: TreeSerializer
Source code in xsdata/formats/dataclass/serializers/tree/native.py
8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
|
render(obj)
Serialize the input model instance to element tree.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
obj | T | The input model instance to serialize | required |
Returns:
Type | Description |
---|---|
Element | The generated element tree instance. |
Source code in xsdata/formats/dataclass/serializers/tree/native.py
10 11 12 13 14 15 16 17 18 19 20 21 |
|