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

Method __init__

scrapy/exporters.py:326–328  ·  view source on GitHub ↗
(self, file: BytesIO, **kwargs: Any)

Source from the content-addressed store, hash-verified

324
325class PprintItemExporter(BaseItemExporter):
326 def __init__(self, file: BytesIO, **kwargs: Any):
327 super().__init__(**kwargs)
328 self.file: BytesIO = file
329
330 def export_item(self, item: Any) -> None:
331 itemdict = dict(self._get_serialized_fields(item))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected