iter_pydantic_jsonl
- iter_pydantic_jsonl(file: str | Path | TextIO, model_cls: type[BaseModelVar], *, progress: bool = False, failure_action: Literal['raise', 'skip'] = 'skip', encoding: str | None = None, newline: str | None = None, tqdm_kwargs: Mapping[str, Any] | None = None) Iterable[BaseModelVar][source]
Read models to a file as JSONL.