read_pydantic_jsonl

read_pydantic_jsonl(file: str | Path | IO[str] | IO[bytes], /, model_cls: type[BaseModelVar], **kwargs: Any) → list[BaseModelVar][source]

Read models from a file as JSONL.