I am trying to implement a Deform schema wherein there is a sequence
of inputs of the same type, but there will be a different number for
each schema. Better shown with example perhaps:

class SampleSchema(MappingSchema):
input1 = SchemaNode(String())
input2 = SchemaNode(String())

class SampleSchema(MappingSchema):
input1 = SchemaNode(String())
input2 = SchemaNode(String())
input3 = SchemaNode(String())
input4 = SchemaNode(String())

My question is: Is there a way to create a schema that can digest a
tuple specifying how many input[x] to create, or do I need to define a
different schema for each one?

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

Reply via email to