equal
deleted
inserted
replaced
361 return relations, values |
361 return relations, values |
362 |
362 |
363 def _rdef_values(rschema, objtype, props): |
363 def _rdef_values(rschema, objtype, props): |
364 amap = {'order': 'ordernum'} |
364 amap = {'order': 'ordernum'} |
365 values = {} |
365 values = {} |
366 for prop, default in rschema.rproperty_defs(objtype).iteritems(): |
366 for prop, default in schemamod.RelationDefinitionSchema.rproperty_defs(objtype).iteritems(): |
367 if prop in ('eid', 'constraints', 'uid', 'infered', 'permissions'): |
367 if prop in ('eid', 'constraints', 'uid', 'infered', 'permissions'): |
368 continue |
368 continue |
369 value = props.get(prop, default) |
369 value = props.get(prop, default) |
370 if prop in ('indexed', 'fulltextindexed', 'internationalizable'): |
370 if prop in ('indexed', 'fulltextindexed', 'internationalizable'): |
371 value = bool(value) |
371 value = bool(value) |