human
I wrote the below code

    @functools.wraps(func)
    def func_with_args(*args, **kwargs):
        current_scope = _current_arg_scope()
        current_args = kwargs
        key_func = (func.__module__, func.__name__)
        if (key_func in current_scope):
            current_args = current_scope[key_func].copy()
            current_args.update(kwargs)
        return func(*args, **current_args)
    _add_op(func)
    return func_with_args

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

def add_arg_scope(func):