Skip to content

WebServiceCall decorator is bypassed #45

@byron-lambda

Description

@byron-lambda

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions