schema.py
changeset 9974 b240b33c7125
parent 9967 e65873ad0371
child 9990 c84ad981fc4a
equal deleted inserted replaced
9973:bbe05c74eb92 9974:b240b33c7125
    81 
    81 
    82 SKIP_COMPOSITE_RELS = [('cw_source', 'subject')]
    82 SKIP_COMPOSITE_RELS = [('cw_source', 'subject')]
    83 
    83 
    84 # set of entity and relation types used to build the schema
    84 # set of entity and relation types used to build the schema
    85 SCHEMA_TYPES = set((
    85 SCHEMA_TYPES = set((
    86     'CWEType', 'CWRType', 'CWAttribute', 'CWRelation',
    86     'CWEType', 'CWRType', 'CWComputedRType', 'CWAttribute', 'CWRelation',
    87     'CWConstraint', 'CWConstraintType', 'CWUniqueTogetherConstraint',
    87     'CWConstraint', 'CWConstraintType', 'CWUniqueTogetherConstraint',
    88     'RQLExpression',
    88     'RQLExpression',
    89     'specializes',
    89     'specializes',
    90     'relation_type', 'from_entity', 'to_entity',
    90     'relation_type', 'from_entity', 'to_entity',
    91     'constrained_by', 'cstrtype',
    91     'constrained_by', 'cstrtype',