schema.py
changeset 2596 d02eed70937f
parent 2531 531ea4e7013e
child 2598 a66fe74bd9fc
equal deleted inserted replaced
2595:e76bf303c6f2 2596:d02eed70937f
    31 
    31 
    32 # XXX <3.2 bw compat
    32 # XXX <3.2 bw compat
    33 from yams import schema
    33 from yams import schema
    34 schema.use_py_datetime()
    34 schema.use_py_datetime()
    35 nodes.use_py_datetime()
    35 nodes.use_py_datetime()
       
    36 
       
    37 PURE_VIRTUAL_RTYPES = set(('identity', 'has_text',))
       
    38 VIRTUAL_RTYPES = set(('eid', 'identity', 'has_text',))
    36 
    39 
    37 #  set of meta-relations available for every entity types
    40 #  set of meta-relations available for every entity types
    38 META_RELATIONS_TYPES = set((
    41 META_RELATIONS_TYPES = set((
    39     'owned_by', 'created_by', 'is', 'is_instance_of', 'identity',
    42     'owned_by', 'created_by', 'is', 'is_instance_of', 'identity',
    40     'eid', 'creation_date', 'modification_date', 'has_text', 'cwuri',
    43     'eid', 'creation_date', 'modification_date', 'has_text', 'cwuri',