mvantellingen / python-zeep

A Python SOAP client
http://docs.python-zeep.org
Other
1.88k stars 586 forks source link

AttributeError: type object 'UnresolvedType' has no attribute 'is_global' #1219

Open preimann01 opened 3 years ago

preimann01 commented 3 years ago

While casting to string I get the AttributeError "type object 'UnresolvedType' has no attribute 'is_global'". It is easy to provoke:

from zeep.xsd.types.unresolved import UnresolvedType
from zeep.xsd.elements.element import Element
t = UnresolvedType
e = Element('test', type_=t)
str(e)
preimann01 commented 3 years ago

Same for 'UnresolvedCustomType'