merge_machine/api.py
def clear_search(project_id):
    '''
    Remove user search items from the list of next labeller proposals
    '''
    _, module_params = _parse_request()
    
    proj = ESLinker(project_id)
    
    labeller = proj.labeller_from_json()
    
    labeller.clear_custom_search()
    
    proj.labeller_to_json(labeller)
        
    encoder = MyEncoder()
    return jsonify(error=False,
                   result=encoder.encode(labeller.to_emit()))

    Remove user search items from the list of next labeller proposals
    
Remove user search items from the list of next labeller proposals
Remove user search items from the list of next labeller proposals
def clear_search(project_id):
    _, module_params = _parse_request()
    proj = ESLinker(project_id)
    labeller = proj.labeller_from_json()
    labeller.clear_custom_search()
    proj.labeller_to_json(labeller)
    encoder = MyEncoder()
    return jsonify(error=False,
                   result=encoder.encode(labeller.to_emit()))
def clear_search ( project_id ) : _ , module_params = _parse_request ( ) proj = ESLinker ( project_id ) labeller = proj . labeller_from_json ( ) labeller . clear_custom_search ( ) proj . labeller_to_json ( labeller ) encoder = MyEncoder ( ) return jsonify ( error = False , result = encoder . encode ( labeller . to_emit ( ) ) )
Remove user search items from the list of next labeller proposals
Remove user search items from the list of next labeller proposals
'''
    Remove user search items from the list of next labeller proposals
    '''
project_id