src/dirbs/importer/importer_utils.py
def write_buffer_to_file(buffer, filename):
    """Write a batch buffer to a file."""
    with open(filename, 'wb') as of:
        buffer.seek(0)
        of.write(buffer.read())
    return filename
Write a batch buffer to a file.
Write a batch buffer to a file.
Write a batch buffer to a file .
def write_buffer_to_file(buffer, filename):
    with open(filename, 'wb') as of:
        buffer.seek(0)
        of.write(buffer.read())
    return filename
def write_buffer_to_file ( buffer , filename ) : with open ( filename , 'wb' ) as of : buffer . seek ( 0 ) of . write ( buffer . read ( ) ) return filename
Write a batch buffer to a file.
Write a batch buffer to a file .
"""Write a batch buffer to a file."""
buffer
filename