from flask import json


@app.route('/summary')
def summary():
    data = make_summary()
    response = app.response_class(response=json.dumps(data), status=200,
        mimetype='application/json')
    return response

822ab839f60b2957bc886c60e6f3a37ea14f401d
<mask token>

<mask token>


@app.route('/summary')
def summary():
    data = make_summary()
    response = app.response_class(response=json.dumps(data), status=200,
        mimetype='application/json')
    return response

from flask import json


@app.route('/summary')
def summary():
    data = make_summary()
    response = app.response_class(response=json.dumps(data), status=200,
        mimetype='application/json')
    return response
