示例#1
0
def assignments_one_timeseries_grade_percentiles(name):
    with DbCursor() as c:
        data = Datasets.timeseries_grade_percentiles(c, name)
    if not data:
        abort(404)
    resp = Response(json.dumps(data))
    resp.headers["Content-Type"] = "application/json"
    return resp
示例#2
0
def assignments_one_timeseries_grade_percentiles(name):
    with DbCursor() as c:
        data = Datasets.timeseries_grade_percentiles(c, name)
    if not data:
        abort(404)
    resp = Response(json.dumps(data))
    resp.headers["Content-Type"] = "application/json"
    return resp