python-zeep icon indicating copy to clipboard operation
python-zeep copied to clipboard

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

Open preimann01 opened this issue 4 years ago • 1 comments

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 avatar Apr 29 '21 08:04 preimann01

Same for 'UnresolvedCustomType'

preimann01 avatar Jun 01 '21 09:06 preimann01