def _set_attribute(self, name, value):
        setattr(self, name, value)
        self.namespace.update({name: getattr(self, name)})
Make sure namespace gets updated when setting attributes.
dataset/ETHPy150Open SheffieldML/GPy/GPy/core/symbolic.py/Symbolic_core._set_attribute