From marduk666pl at gmail.com Wed Jul 6 05:50:18 2016 From: marduk666pl at gmail.com (Marduk) Date: Wed, 6 Jul 2016 11:50:18 +0200 Subject: [Soap-Python] Spyne and complex model tree structures Message-ID: Hey, I have a question regarding Spyne. I have complex type which is a tree structure containing nodes which contains other nodes etc. But in spyne you must specify return type for example: class TreeNode(ComplexModel): _type_info = [ ('Children', Array(TreeNode)) ] But it's impossible to declare Array(TreeNode) from inside TreeNode because TreeNode isn't visible from it self. So is it possible to somehow declare this complex type and send it to spyne? Thanks PS. This is a third message, because i'm not sure which address is valid, so sorry for spam. -------------- next part -------------- An HTML attachment was scrubbed... URL: