def _configure_csv_file(self, file_handle, schema):
    'Configure a csv writer with the file_handle and write schema\n        as headers for the new file.\n        '
    csv_writer = csv.writer(file_handle, encoding='utf-8', delimiter=self.field_delimiter)
    csv_writer.writerow(schema)
    return csv_writer
Configure a csv writer with the file_handle and write schema
as headers for the new file.
def _configure_csv_file(self, file_handle, schema):
    'Configure a csv writer with the file_handle and write schema\n        as headers for the new file.\n        '
    csv_writer = csv.writer(file_handle, encoding='utf-8', delimiter=self.field_delimiter)
    csv_writer.writerow(schema)
    return csv_writer