Skip to content Skip to sidebar Skip to footer

Name Customization For Attribute_of

I'm playing with attribute_of and spyne 2.10 (very glad it's out). Let's consider following model: class Product(ComplexModel): id = complex.XmlAttribute(primitive.Uuid) ed

Solution 1:

As of 2.10, Spyne does not support this.

I can't think of an easy workaround as it'd require writing method_call and method_return_document events as well as wsdl events to patch the wsdl manually.

However, if you can write tests for it, I'll see what I can do for the 2.11.

Post a Comment for "Name Customization For Attribute_of"