read

read(
    path: str | Path,
    vocabularies: Iterable[Vocabulary] = (),
    graph_engine: GraphAdapter | None = None,
)

The graph a document file holds (see loads).

Raises

Name Type Description
OmkJsonError if the file is not UTF-8, or as loads does.