human
I wrote the below code

    def wrapped_func(*args, **kwarg):
        body = {}
        body['args'] = []
        body['kwarg'] = {}
        for arg in args:
            body['args'].append(arg)
        for key in kwarg:
            body['kwarg'][key] = kwarg[key]
        ctxt = context.get_context_from_function_and_args(fn, args, kwarg)
        notify(ctxt, CONF.default_publisher_id, name, CONF.default_notification_level, body)
        return fn(*args, **kwarg)
    return wrapped_func

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

def notify_decorator(name, fn):