示例#1
0
 class Thing(Model):
     a = Or(String(), Float())
示例#2
0
 class Thing(Model):
     inner = List(String())
示例#3
0
 class Thing(Model):
     id_ = String(field_name='id')
示例#4
0
 class MapThing(Model):
     map = Map(String(), Reference(Thing))
示例#5
0
 class Thing(Model):
     title = String()
示例#6
0
 class Thing(Model):
     inner = String()
示例#7
0
 class SubThing(Thing):
     external = List(String())