def pool_get(self, name):
        """Returns a single F5 pool"""
        try:
            pool = f5.Pool.factory.create([name], self)[0]
            pool.refresh()
        except ServerError as e:
            if 'was not found.' in str(e):
                raise PoolNotFound(name)
            else:
                raise

        return pool
dataset/ETHPy150Open tdevelioglu/python-f5/f5/lb.py/Lb.pool_get/original