def api_get_data(): result = business.get_data() # result_dict = { # 'year' : year, # 'pytorch' : pytorch, # 'tensorFlow' : tensorFlow # } return jsonify(result)
def api_get_data(): result = business.get_data() return jsonify(result)