Пользователи SQLALCHEMEMEMY в JSON CODE SNIPPET
@app.route('/results/')
def results():
cols = ['id', 'url', 'shipping']
data = Table.query.all()
result = [{col: getattr(d, col) for col in cols} for d in data]
return jsonify(result=result)
Uninterested Unicorn