Skip to main content
Version: 0.0.6 (stable)

agrag.schema

Load and dump schemas in a notation that is short to write.

Modules:

  • canonical – The canonical dict form of a GraphSchema.
  • errors – Errors that the schema loader raises.
  • formats – Import and export schemas in other formats.
  • loader – Load a GraphSchema from a dict, a label list, JSON, YAML, a path or a preset.
  • shorthand – Readers that turn every accepted notation into canonical dicts.

Classes:

Functions:

  • dump_schema – Return the canonical dict form of a schema.
  • load_schema – Load a schema from any accepted source.