def get_order(request): order_id = request.args["order_id"] order = db.query(Order).get(order_id) return jsonify(order.to_dict())