schema.py
branchstable
changeset 2958 44e5446b649b
parent 2926 4484387ed012
child 2967 e7d348134006
equal deleted inserted replaced
2930:d7c23b2c7538 2958:44e5446b649b
   445     :ivar base: path of the directory where the schema is defined
   445     :ivar base: path of the directory where the schema is defined
   446     """
   446     """
   447     reading_from_database = False
   447     reading_from_database = False
   448     entity_class = CubicWebEntitySchema
   448     entity_class = CubicWebEntitySchema
   449     relation_class = CubicWebRelationSchema
   449     relation_class = CubicWebRelationSchema
       
   450     no_specialization_inference = ('identity',)
   450 
   451 
   451     def __init__(self, *args, **kwargs):
   452     def __init__(self, *args, **kwargs):
   452         self._eid_index = {}
   453         self._eid_index = {}
   453         super(CubicWebSchema, self).__init__(*args, **kwargs)
   454         super(CubicWebSchema, self).__init__(*args, **kwargs)
   454         ybo.register_base_types(self)
   455         ybo.register_base_types(self)