Method
__init__
(self, file: BytesIO, protocol: int = 4, **kwargs: Any)
Source from the content-addressed store, hash-verified
| 296 | |
| 297 | class 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
Tested by
no test coverage detected