human
I wrote the below code

    @functools.wraps(f)
    def wrapped(context, *args, **kwargs):
        ctxt_mgr = get_context_manager(context)
        with ctxt_mgr.reader.allow_async.using(context):
            return f(context, *args, **kwargs)
    return wrapped

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

def pick_context_manager_reader_allow_async(f):