(comp_path, compression_only, temp_path, **kwargs)
| 269 | |
| 270 | |
| 271 | def read_xml_iterparse_comp(comp_path, compression_only, temp_path, **kwargs): |
| 272 | with get_handle(comp_path, "r", compression=compression_only) as handles: |
| 273 | temp_path.write_text(handles.handle.read(), encoding="utf-8") |
| 274 | return read_xml(temp_path, **kwargs) |
| 275 | |
| 276 | |
| 277 | # FILE / URL |
no test coverage detected