示例#1
0
 class MenuItem(Map):
     key_type = Typed(str)
     value_type = Dynamic
     name = Attribute(type=str)
示例#2
0
class Kennel(Map):

    key_type = Typed(str)

    value_type = Animal
示例#3
0
 class PetMap(Map):
     key_type = Typed(str)
     value_type = Owner
示例#4
0
 class NamedMap(Map):
     key_type = Typed(str)
     value_type = Dynamic
     name = Attribute(type=str)
示例#5
0
 class Kennels(Map):
     key_type = Typed(str)
     value_type = NamedKennel