Hi folks,
I'm a n00b in colander use, therefore forgive my simple question :)

I'm trying to convert a SQLAlchemy schema in colander version.
Is it possible to reproduce the schema written below, in pseudo code?

class Category(colander.MappingSchema):

    name = colander.SchemaNode(colander.String())
    parent = Category()
    children = colander.SchemaNode(colander.Sequence, Category())


Regards,
Stefano.

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to