예제 #1
0
def get_bars():
    return jsonify(database.get_bars())
예제 #2
0
def get_bars():
    return render_template('bar.html', result=database.get_bars())
예제 #3
0
def get_bars():
    return json.dumps(database.get_bars())
예제 #4
0
def get_bars():
    #executes python object, converts to json, and return it
    return jsonify(database.get_bars())