Exemplo n.º 1
0
class Parent(tests.UUIDAutoModel):
    sons = sheraf.LargeDictAttribute(sheraf.InlineModelAttribute(Child))
    daughters = sheraf.SmallListAttribute(sheraf.InlineModelAttribute(Child))
Exemplo n.º 2
0
 class FileStorable(tests.UUIDAutoModel):
     a = sheraf.SimpleAttribute()
     b = sheraf.SimpleAttribute()
     c = sheraf.SmallListAttribute()
     d = sheraf.LargeDictAttribute()
Exemplo n.º 3
0
class Y_ZODBModelWithInlineAttribute(tests.UUIDAutoModel):
    tels = sheraf.LargeDictAttribute(
        sheraf.InlineModelAttribute(Y_ZODBInlineModel))
Exemplo n.º 4
0
 class Model(tests.UUIDAutoModel):
     models = sheraf.LargeDictAttribute(
         sheraf.InlineModelAttribute(MyInline))
Exemplo n.º 5
0
class Test_sheraf_rep_3(tests.UUIDAutoModel):
    tels = sheraf.LargeDictAttribute(
        sheraf.InlineModelAttribute(Test_sheraf_tel_in_3))
Exemplo n.º 6
0
 class Model(tests.UUIDAutoModel):
     inlines = sheraf.LargeDictAttribute(
         sheraf.InlineModelAttribute(DictInlineModel))
Exemplo n.º 7
0
 class Model(tests.UUIDAutoModel):
     inline = sheraf.LargeDictAttribute(
         sheraf.InlineModelAttribute("anticonstitutionnellement"))
Exemplo n.º 8
0
 class Model(tests.UUIDAutoModel):
     models = sheraf.LargeDictAttribute(sheraf.ModelAttribute(AModel))
Exemplo n.º 9
0
 class _AnotherModel(tests.UUIDAutoModel):
     a_dict_for_test = sheraf.LargeDictAttribute(sheraf.ModelAttribute(AModel))