Exemplo n.º 1
0
def fetch_runs():
    res = fetch_all_runs.delay()
    res.wait()
    return jsonify(res.result)
Exemplo n.º 2
0
def fetch_runs():
    from monolith.background import fetch_all_runs
    res = fetch_all_runs.delay()
    res.wait()
    return jsonify(res.result)