def __setattr__(self, name, value):
        if self._loop.is_running():
            super(slocal, self).__setattr__(name, value)
        else:
            setattr(tlocals, name, value)
Set attribute to current task's space.
dataset/ETHPy150Open klen/muffin/muffin/utils.py/slocal.__setattr__