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

Method export_item

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

Source from the content-addressed store, hash-verified

301 self.protocol: int = protocol
302
303 def export_item(self, item: Any) -> None:
304 d = dict(self._get_serialized_fields(item))
305 pickle.dump(d, self.file, self.protocol)
306
307
308class MarshalItemExporter(BaseItemExporter):

Callers 2

Calls 1

Tested by 2