human
What is a the Python code you requested given the following:
Complete the below
def cwd_at(path):

    ''''Decorator to run function at `path`.
    :type path: str
    :arg  path: relative path from repository root (e.g., ``\'jedi\'``).'
    '''
assistant
#Here is the Python code you requested.
    def decorator(func):
        @functools.wraps(func)
        def wrapper(*args, **kwds):
            with set_cwd(path):
                return func(*args, **kwds)
        return wrapper
    return decorator