goa/test/data/schema.py
changeset 0 b97547f5f1fa
child 1977 606923dff11b
equal deleted inserted replaced
-1:000000000000 0:b97547f5f1fa
       
     1 
       
     2 
       
     3 class YamsEntity(EntityType):
       
     4     if 'Blog' in defined_types and 'Article' in defined_types:
       
     5         ambiguous_relation = SubjectRelation(('Blog', 'Article'))
       
     6     if 'Blog' in defined_types:
       
     7         inlined_relation = SubjectRelation('Blog', cardinality='?*')
       
     8 
       
     9 class inlined_relation(RelationType):
       
    10     inlined = True
       
    11