stream_write_pydantic_jsonl

stream_write_pydantic_jsonl(models: Iterable[BaseModelVar], file: str | Path | TextIO, **kwargs: Any) Generator[BaseModelVar, None, None][source]

Write models to a file as JSONL and yield them.