(self, item: Any)
| 158 | self.file.write(b"]") |
| 159 | |
| 160 | def export_item(self, item: Any) -> None: |
| 161 | itemdict = dict(self._get_serialized_fields(item)) |
| 162 | data = to_bytes(self.encoder.encode(itemdict), self.encoding) |
| 163 | self._add_comma_after_first() |
| 164 | self.file.write(data) |
| 165 | |
| 166 | |
| 167 | class XmlItemExporter(BaseItemExporter): |
nothing calls this directly
no test coverage detected