schema.py
branchstable
changeset 2252 dd9758cb77e1
parent 2222 81130047390d
child 2293 7ded2a1416e4
equal deleted inserted replaced
2251:799ff50ddfe8 2252:dd9758cb77e1
   353         raise Unauthorized(action, str(self))
   353         raise Unauthorized(action, str(self))
   354 
   354 
   355     def rql_expression(self, expression, mainvars=None, eid=None):
   355     def rql_expression(self, expression, mainvars=None, eid=None):
   356         """rql expression factory"""
   356         """rql expression factory"""
   357         return ERQLExpression(expression, mainvars, eid)
   357         return ERQLExpression(expression, mainvars, eid)
       
   358 
   358 
   359 
   359 class CubicWebRelationSchema(RelationSchema):
   360 class CubicWebRelationSchema(RelationSchema):
   360     RelationSchema._RPROPERTIES['eid'] = None
   361     RelationSchema._RPROPERTIES['eid'] = None
   361     _perms_checked = False
   362     _perms_checked = False
   362 
   363