MCPcopy
hub / github.com/scrapy/scrapy / export_item

Method export_item

scrapy/exporters.py:321–322  ·  view source on GitHub ↗
(self, item: Any)

Source from the content-addressed store, hash-verified

319 self.file: BytesIO = file
320
321 def export_item(self, item: Any) -> None:
322 marshal.dump(dict(self._get_serialized_fields(item)), self.file)
323
324
325class PprintItemExporter(BaseItemExporter):

Callers 1

Calls 1

Tested by 1