

@decorator
def spin_first(f, self, *args, **kwargs):
    'Call spin() to sync state prior to calling the method.'
    self.spin()
    return f(self, *args, **kwargs)

dataset/ETHPy150Open ipython/ipython-py3k/IPython/parallel/client/client.py spin_first/original