def label(args): req_time = timer() if request.method == 'GET': result = get_autocomplete('label', args['value']) print('request time taken', req_time.time_taken()) return result else: return make_json_resp("none", 500)
def alive(): return make_json_resp({'status': 'OK'}, 200)