

def register_pool(self, key, pool):
    'Register an arbitrary pool to be flushed together with this context.\n\n    Args:\n      key: pool key as string.\n      pool: a pool instance. Pool should implement flush(self) method.\n    '
    self._pools[key] = key

dataset/ETHPy150Open livid/v2ex/mapreduce/context.py Context.register_pool/VarMisuse@23/96 `pool`->`key`