pipeline/util.py
def write_csv_to_fwrapper(fwrapper, header, rows):
    """Write csv records to already opened file handle."""
    with fwrapper.open('w') as f:
        writer = csv.writer(f)
        if header: writer.writerow(header)
        writer.writerows(rows)
Write csv records to already opened file handle.
Write csv records to already opened file handle.
Write csv records to already opened file handle .
def write_csv_to_fwrapper(fwrapper, header, rows):
    with fwrapper.open('w') as f:
        writer = csv.writer(f)
        if header: writer.writerow(header)
        writer.writerows(rows)
def write_csv_to_fwrapper ( fwrapper , header , rows ) : with fwrapper . open ( 'w' ) as f : writer = csv . writer ( f ) if header : writer . writerow ( header ) writer . writerows ( rows )
Write csv records to already opened file handle.
Write csv records to already opened file handle .
"""Write csv records to already opened file handle."""
fwrapper
header
rows