write_unprocessed

write_unprocessed(records: Iterable[Record], path: str | Path | TextIO, *, metadata: MappingSet | dict[str, Any] | MappingSetRecord | None = None, converter: Converter | None = None, prefixes: set[str] | None = None, columns: Sequence[str] | None = None, exclude_columns: Collection[str] | None = None, condense: bool = True) None[source]

Write unprocessed records.

Parameters:
  • records – records to write

  • path – the path to a file or a file-like object to write to

  • metadata – metadata to use

  • converter – converter to use

  • prefixes – if given, subsets the converter

  • columns – explicitly set what columns should be output. Results in taking more than one pass over the mappings

  • exclude_columns – explicitly set what columns should not be output

  • condense – condense mappings into mapping set metadata. Results in taking more than one pass over the mappings