def add_version(response): # pylint: disable=unused-variable version = get_run_version() response.headers['API'] = f'report_api/{version}' return response
def get(): """Return a JSON object with meta information about the Service.""" version = get_run_version() return jsonify(API=f'report_api/{version}')