MCPcopy
hub / github.com/scrapy/scrapy / finish_exporting

Method finish_exporting

scrapy/exporters.py:156–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 self._beautify_newline()
155
156 def finish_exporting(self) -> None:
157 self._beautify_newline()
158 self.file.write(b"]")
159
160 def export_item(self, item: Any) -> None:
161 itemdict = dict(self._get_serialized_fields(item))

Callers

nothing calls this directly

Calls 2

_beautify_newlineMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected