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:
- SchemaError – The base class for every schema-loader error.
- SchemaIssue – One problem found in a schema source.
- SchemaLoadError – A schema source is invalid.
Functions:
- dump_schema – Return the canonical dict form of a schema.
- load_schema – Load a schema from any accepted source.