app/views.py
def bulk_search_route():
    """
    Bulk search all of these queries
    :return: Excel file bundling query responses
    """
    search_results = request.form['searches']
    searches = search_results.split('\n')

    data = bulk_search(searches)
    return send_file(io.BytesIO(data.xls), as_attachment=True,
                     attachment_filename='bulk_{}.xls'.format(time.time()))

    Bulk search all of these queries
    :return: Excel file bundling query responses
    
Bulk search all of these queries
Bulk search all of these queries
def bulk_search_route():
    search_results = request.form['searches']
    searches = search_results.split('\n')
    data = bulk_search(searches)
    return send_file(io.BytesIO(data.xls), as_attachment=True,
                     attachment_filename='bulk_{}.xls'.format(time.time()))
def bulk_search_route ( ) : search_results = request . form [ 'searches' ] searches = search_results . split ( '\n' ) data = bulk_search ( searches ) return send_file ( io . BytesIO ( data . xls ) , as_attachment = True , attachment_filename = 'bulk_{}.xls' . format ( time . time ( ) ) )
Bulk search all of these queries
Bulk search all of these queries
"""
    Bulk search all of these queries
    :return: Excel file bundling query responses
    """
Excel file bundling query responses
Excel file bundling query responses