human
I wrote the below code

    def decorator(func):
        @functools.wraps(func)
        def wrapper(*args, **kwargs):
            with changed_config(key, value):
                return func(*args, **kwargs)
        return wrapper
    return decorator

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

def change_config(key, value):