schema.py
branch3.5
changeset 2967 e7d348134006
parent 2957 2daabf4c646e
parent 2958 44e5446b649b
child 2968 0e3460341023
child 3240 8604a15995d1
equal deleted inserted replaced
2966:0aeb81eb179c 2967:e7d348134006
   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)