On 01/08/13 18:01, Ken Prows wrote:
So it looks like SelfReference doesn't work within an Array.
Hi there,
That's correct. What you can do instead:
class Category(ComplexModel):
category_id = Integer(min_occurs=1, max_occurs=1, nillable=False)
name = Unicode(min_occurs=1, max_occurs=1, nillable=False)
Category._type_info['children'] = Array(Category)
Does it help?
would it be possible to add support
for Array(SelfReference) in a future version of spyne?
If you write the test for it, I can implement it.
Best,
Burak
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap