class PythonItemExporter(BaseItemExporter):
This is a base class for item exporters that extends
BaseItemExporter
with support for nested items.
It serializes items to built-in Python types, so that any serialization
library (e.g. json
or msgpack) can be used on top of it.
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 | _serialize_item |
Undocumented |
Method | _serialize_value |
Undocumented |
Method | export_item |
Undocumented |
Method | serialize_field |
Undocumented |
Instance Variable | binary |
Undocumented |
Instance Variable | encoding |
Undocumented |
Inherited from BaseItemExporter
:
Method | finish_exporting |
Undocumented |
Method | start_exporting |
Undocumented |
Instance Variable | export_empty_fields |
Undocumented |
Instance Variable | fields_to_export |
Undocumented |
Instance Variable | indent |
Undocumented |
Method | __init__ |
Undocumented |
Method | _get_serialized_fields |
Return the fields to export as an iterable of tuples (name, serialized_value) |
Instance Variable | _kwargs |
Undocumented |