python-zeep
python-zeep copied to clipboard
Fix RuntimeError: 'NoneType' object has no attribute 'clone'
Fix RuntimeError: 'NoneType' object has no attribute 'clone' that happens with wsdl of customer (redacted, due to NDA issues). This fixes #898
@mjl any updates on this? We're running into the same error
@mjl any updates on this? We're running into the same error
No, I have the patch to make it work in my forked repo and submitted a pull request, but so far no news.
zeep/wsdl/messages/soap.py
+ if part.element:
element = part.element.clone()
element.attr_name = part_name or element.name
+ else:
+ element = xsd.Element(part_name, part.type)
@mvantellingen I noticed the linked issue #898 was closed. Would it be reasonable for me to expect this fix to land in Zeep at some point?
I don't want to seem insistent - I mostly would like to know if I should expect a fix or fork the repo into my org and patch it internally while waiting for a fix
I am also having this problem, would like to see the fix merged 🙏
Needs a unittest to be merged