equal
deleted
inserted
replaced
117 groupmap = group_mapping(session) |
117 groupmap = group_mapping(session) |
118 object = rschema.schema.eschema(rdefdef.object) |
118 object = rschema.schema.eschema(rdefdef.object) |
119 for specialization in eschema.specialized_by(False): |
119 for specialization in eschema.specialized_by(False): |
120 if (specialization, rdefdef.object) in rschema.rdefs: |
120 if (specialization, rdefdef.object) in rschema.rdefs: |
121 continue |
121 continue |
122 print 'adding infered', specialization, rschema.type, object |
|
123 sperdef = RelationDefinitionSchema(specialization, rschema, |
122 sperdef = RelationDefinitionSchema(specialization, rschema, |
124 object, props) |
123 object, props) |
125 ss.execschemarql(session.execute, sperdef, |
124 ss.execschemarql(session.execute, sperdef, |
126 ss.rdef2rql(sperdef, cstrtypemap, groupmap)) |
125 ss.rdef2rql(sperdef, cstrtypemap, groupmap)) |
127 |
126 |