human
Here's a good function header given the following:
I wrote the below code

    @functools.wraps(function)
    def decorated_function(*args, **kwargs):
        tmp_dir_path = tempfile.mkdtemp()
        kwargs['tmp_dir_path'] = tmp_dir_path
        try:
            return function(*args, **kwargs)
        finally:
            utils.execute('rm', '-rf', tmp_dir_path)
    return decorated_function

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

def create_tmp_dir(function):