gatkin / declxml

Declarative XML processing for Python
https://declxml.readthedocs.io/en/latest/
MIT License
37 stars 7 forks source link

None values for namedtuples and objects not handled when serializing #7

Closed gatkin closed 6 years ago

gatkin commented 6 years ago

Serialization fails if a namedtuple or object value is None when the processor attempts to convert the namedtuple or object to a dictionary by calling _asdict() or __dict__ on the None value.