MCPcopy
hub / github.com/scrapy/scrapy / start_exporting

Method start_exporting

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

Source from the content-addressed store, hash-verified

182 self.xg.characters(" " * self.indent * depth)
183
184 def start_exporting(self) -> None:
185 self.xg.startDocument()
186 self.xg.startElement(self.root_element, AttributesImpl({}))
187 self._beautify_newline(new_item=True)
188
189 def export_item(self, item: Any) -> None:
190 self._beautify_indent(depth=1)

Callers 1

assertExportResultMethod · 0.95

Calls 1

_beautify_newlineMethod · 0.95

Tested by 1

assertExportResultMethod · 0.76