Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/scrapy/scrapy
/ export_item
Method
export_item
scrapy/exporters.py:321–322 ·
view source on GitHub ↗
(self, item: Any)
Source
from the content-addressed store, hash-verified
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)
323
324
325
class
PprintItemExporter(BaseItemExporter):
Callers
1
test_nonstring_types_item
Method · 0.95
Calls
1
_get_serialized_fields
Method · 0.80
Tested by
1
test_nonstring_types_item
Method · 0.76