write_pydantic_jsonl

write_pydantic_jsonl(models: Iterable[pydantic.BaseModel], file: str | Path | TextIO, **kwargs: Any) None[source]

Write models to a file as JSONL.