def get_all(): """ Get all data matrices """ matrices = MatrixController.get_all_data() if not matrices: return jsonify(error='No matrices were found'), 500 return jsonify(matrices=serialize_sqla(matrices))
def multiply(): return render_template('multiply.htm', data={ 'matrices': MatrixController.get_all_data(), })