Closed hexabits closed 2 years ago
Adds optional attribute when paired with default, it ignores these fields in to_xml and from_xml when the value matches the default.
optional
default
Adds this data to _get_filtered_attribute_list which the data is then checked in the same condition as the new DO_NOT_SERIALIZE.
_get_filtered_attribute_list
DO_NOT_SERIALIZE
Adds
optional
attribute when paired withdefault
, it ignores these fields in to_xml and from_xml when the value matches the default.Adds this data to
_get_filtered_attribute_list
which the data is then checked in the same condition as the newDO_NOT_SERIALIZE
.