def connected_client(self):
        future = self.get_connected_client()
        cb = functools.partial(self._connected_client_release_cb, future)
        return ContextManagerFuture(future, cb)
Test generating a source space from volume label
dataset/ETHPy150Open thefab/tornadis/tornadis/pool.py/ClientPool.connected_client--crossover with--dataset/ETHPy150Open mne-tools/mne-python/mne/tests/test_source_space.py/test_source_space_from_label