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

Method __init__

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

Source from the content-addressed store, hash-verified

315 """
316
317 def __init__(self, file: BytesIO, **kwargs: Any):
318 super().__init__(**kwargs)
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)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected