python-zeep
python-zeep copied to clipboard
Correction of zero value processing
The problem is that the zero value that comes as part of </xs:choice> element - ignores.
It happens because value checked with if operator and zero check returns false.
I added comparation with (None, [], {}) - cause this values can be returned by choice.parse_kwargs function.