예제 #1
0
파일: test.py 프로젝트: KleKoR/Xsubs.bundle
 class breakfast(dexml.Model):
     meals = fields.List(fields.Choice("bacon","cereal"))
예제 #2
0
파일: test.py 프로젝트: KleKoR/Xsubs.bundle
 class SaneChoice(dexml.Model):
     item = fields.Choice(fields.String(),fields.Integer())
예제 #3
0
파일: test.py 프로젝트: KleKoR/Xsubs.bundle
 class SaneChoice(dexml.Model):
     item = fields.Choice(GreedyModel("SaneChoice"))
예제 #4
0
class propertyupdate(_davbase):
    """XML model for a propertyupdate request message."""
    commands = fields.List(fields.Choice("remove", "set"))