Skip to main content
Version: latest

agrag.schema.formats.dispatch

Hooks that let load_schema read Pydantic classes and Turtle files.

Functions:

  • is_model_source – Return whether source is a Pydantic class or a list of them.
  • read_models – Read a schema from a Pydantic class or a list of classes.
  • read_owl_file – Read Turtle and return its validated canonical schema data.

Attributes: