Ejemplo n.º 1
0
 def __init__(self, name):
     self.action = request.path_qs
     schema = Schema()
     schema.allow_extra_fields = True
     schema.filter_extra_fields = True
     self.schema = schema
     self.name = name
     self.errors = None
     self.fields = self.Fields()
     self.init()
Ejemplo n.º 2
0
 def __init__(self, name):
     self.action = request.path_qs
     schema = Schema()
     schema.allow_extra_fields = True
     schema.filter_extra_fields = True
     self.schema = schema
     self.name = name
     self.errors = None
     self.fields = self.Fields()
     self.init()