equal
deleted
inserted
replaced
1037 rdef = ybo.RelationDefinition( |
1037 rdef = ybo.RelationDefinition( |
1038 subjtype, rschema.type, objtype) |
1038 subjtype, rschema.type, objtype) |
1039 rdef.infered = True |
1039 rdef.infered = True |
1040 self.add_relation_def(rdef) |
1040 self.add_relation_def(rdef) |
1041 |
1041 |
|
1042 def rebuild_infered_relations(self): |
|
1043 super(CubicWebSchema, self).rebuild_infered_relations() |
|
1044 self.finalize_computed_relations() |
|
1045 |
1042 |
1046 |
1043 # additional cw specific constraints ########################################### |
1047 # additional cw specific constraints ########################################### |
1044 |
1048 |
1045 class BaseRQLConstraint(RRQLExpression, BaseConstraint): |
1049 class BaseRQLConstraint(RRQLExpression, BaseConstraint): |
1046 """base class for rql constraints""" |
1050 """base class for rql constraints""" |