@api_config(route_name='api.search')
def search(request):
    params = request.params.copy()

    separate_replies = params.pop('_separate_replies', False)
    out = search_lib.search(request,
                            params,
                            separate_replies=separate_replies)

    # Run the results through the JSON presenter
    out['rows'] = [_present_searchdict(request, a)
                   for a in out['rows']]
    if separate_replies:
        out['replies'] = [_present_searchdict(request, a)
                          for a in out['replies']]

    return out
Refresh this object - this will draw to the underlying display
dataset/ETHPy150Open hypothesis/h/h/api/views.py/search--crossover with--dataset/ETHPy150Open peterbrittain/asciimatics/asciimatics/screen.py/_AbstractCanvas.refresh