def _setup_class(self): """ Sets the basic properties for the storage """ self._objects = {} self._storages = {} self._storages_base_cls = {} self._obj_store = {} self.simplifier = StorableObjectJSON(self) self.vars = dict() self.units = dict() self.dimension_units = dict()
def _create_simplifier(self): if self.reference_by_uuid: self.simplifier = UUIDObjectJSON(self) else: self.simplifier = StorableObjectJSON(self)