zeep creates types dynamically for ComplexType values. These new types have the class zeep.objects.ComplexType so isinstance(response, zeep.xsd.ComplexType) is always False, which effectively bypasses the WebServiceCall decorator here:
|
if not isinstance(response, zeep.xsd.ComplexType): |
I'm not sure of the best way to resolve this. Is the isinstance test necessary?
zeepcreates types dynamically forComplexTypevalues. These new types have the classzeep.objects.ComplexTypesoisinstance(response, zeep.xsd.ComplexType)is alwaysFalse, which effectively bypasses theWebServiceCalldecorator here:netsuite/netsuite/soap_api/decorators.py
Line 37 in 9d7bdb3
I'm not sure of the best way to resolve this. Is the
isinstancetest necessary?