def _child_pool(self):
    self._pool = self._pool_type(name='Pool_{}'.format(self._metadata['pid']), worker_type=self._worker_type, size=self._pool_size, runpath=self.runpath, allow_task_rerun=False)
    self._pool.parent = self
    self._pool.cfg.parent = self._pool_cfg
    return self._pool
def _child_pool(self):
    self._pool = self._pool_type(name='Pool_{}'.format(self._metadata['pid']), worker_type=self._worker_type, size=self._pool_size, runpath=self.runpath, allow_task_rerun=False)
    self._pool.parent = self
    self._pool.cfg.parent = self._pool_cfg
    return self._pool