Exemplo n.º 1
0
def search():
    response_error_key = constants.RESPONSE_ERROR_KEY
    try:
        # Process request and return final list of json objects
        return jsonify(RequestHandler.process_request(request))
    except Exception as e:
        return jsonify({response_error_key: str(e)})
Exemplo n.º 2
0
def search():
    try:
        # Process request and return final list json objects
        return jsonify(RequestHandler.process_request(request))
    except Exception as e:
        return jsonify({'ERROR': str(e)})
Exemplo n.º 3
0
def run_scripts():
    try:
        return jsonify(RequestHandler.process_request(request))
    except Exception as e:
        return jsonify({'ERROR': str(e)})