class documentation

class CsvItemExporter(BaseItemExporter):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method ​_build​_row Undocumented
Method ​_join​_if​_needed Undocumented
Method ​_write​_headers​_and​_set​_fields​_to​_export Undocumented
Method export​_item Undocumented
Method serialize​_field Undocumented
Instance Variable ​_headers​_not​_written Undocumented
Instance Variable ​_join​_multivalued Undocumented
Instance Variable csv​_writer Undocumented
Instance Variable encoding Undocumented
Instance Variable fields​_to​_export Undocumented
Instance Variable include​_headers​_line Undocumented
Instance Variable stream Undocumented

Inherited from BaseItemExporter:

Method finish​_exporting Undocumented
Method start​_exporting Undocumented
Instance Variable export​_empty​_fields Undocumented
Instance Variable indent Undocumented
Method ​_configure Configure the exporter by poping options from the options dict. If dont_fail is set, it won't raise an exception on unexpected options (useful for using with keyword arguments in subclasses __init__ methods)
Method ​_get​_serialized​_fields Return the fields to export as an iterable of tuples (name, serialized_value)
Instance Variable ​_kwargs Undocumented
def __init__(self, file, include_headers_line=True, join_multivalued=',', errors=None, **kwargs):
def _build_row(self, values):

Undocumented

def _join_if_needed(self, value):

Undocumented

def _write_headers_and_set_fields_to_export(self, item):

Undocumented

def export_item(self, item):
def serialize_field(self, field, name, value):
_headers_not_written: bool =

Undocumented

_join_multivalued =

Undocumented

csv_writer =

Undocumented

encoding: str =
fields_to_export =
include_headers_line =

Undocumented

stream =

Undocumented