human
Here's a good function header given the following:
I wrote the below code

    @wraps(f)
    def wrapper(*args, **kwargs):
        with patch.object(Session, 'add_or_renew_pool') as mocked_add_or_renew_pool:
            future = Future()
            future.set_result(object())
            mocked_add_or_renew_pool.return_value = future
            f(*args, **kwargs)
    return wrapper

What's a good function header?
assistant
#Here's a good function header.

def mock_session_pools(f):