More explanations:

(A){
   B =
      (B){
         C =
            (CArray){
               C[] = <empty>
            }
      }

So, where is diplaying <empty> should display another ComplexModel

is it possible?

Thanks in advance again

On Mon, Jul 30, 2012 at 4:30 PM, Gabriel Monnerat <[email protected]
> wrote:

> Hello all,
>
> I am trying to use use spyne in my model but I am get failures when I used
> one Array inside another Array. i.e
>
> class Number(ComplexModel):
>
>     number = Integer
>
> class Address(ComplexModel):
>
>    street_name = String
>    number = Integer
>    telephone = Array(Number)
>
> class User(ComplexModel):
>
>    name = String
>    address = Array(Address)
>
> When I use this model case I got something like:
>
> TypeNotFound: Type not found: 'number'
>
> And when I print client.factory.create('User'), the structure to telephone
> is not created.
>
> Am I doing something stupid? I found on history about ComplexModel usage
> but not using many levels of Arrays
>
> Best Regards,
>
> --
> Gabriel M. Monnerat
>



-- 
Gabriel M. Monnerat
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to