human
I wrote the below code

    def wrapper(cls):
        funcs = ['on_request', 'on_inject_request', 'on_response', 'on_inject_response']
        for func in funcs:
            f = _passive_handler_func(getattr(cls, func))
            setattr(cls, func, f)
        return handler(store, passive=True, **kwargs)(cls)
    return wrapper

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

def _passive_handler(store, **kwargs):