human
Complete the below
def api_version(f):

    ''''Add the \'API-Version\' header to all responses'
    '''
assistant
#Here is the Python code you requested.
    @wraps(f)
    def wrapped(*args, **kwargs):
        rv = f(*args, **kwargs)
        rv.headers[u'API-Version'] = __version__
        return rv
    return wrapped