MCPcopy
hub / github.com/scrapy/scrapy / __init__

Method __init__

scrapy/exporters.py:298–301  ·  view source on GitHub ↗
(self, file: BytesIO, protocol: int = 4, **kwargs: Any)

Source from the content-addressed store, hash-verified

296
297class PickleItemExporter(BaseItemExporter):
298 def __init__(self, file: BytesIO, protocol: int = 4, **kwargs: Any):
299 super().__init__(**kwargs)
300 self.file: BytesIO = file
301 self.protocol: int = protocol
302
303 def export_item(self, item: Any) -> None:
304 d = dict(self._get_serialized_fields(item))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected