Exemplo n.º 1
0
 class breakfast(dexml.Model):
     meals = fields.List(fields.Choice("bacon","cereal"))
Exemplo n.º 2
0
 class SaneChoice(dexml.Model):
     item = fields.Choice(fields.String(),fields.Integer())
Exemplo n.º 3
0
 class SaneChoice(dexml.Model):
     item = fields.Choice(GreedyModel("SaneChoice"))
Exemplo n.º 4
0
class propertyupdate(_davbase):
    """XML model for a propertyupdate request message."""
    commands = fields.List(fields.Choice("remove", "set"))