Version: latest
agrag.schema.stored
Read, write, and compare the schema stored in a graph.
Functions:
- read_stored_schema – Return the schema stored in the graph, or None when none was stored.
- require_stored_schema – Return the stored schema, raising when the graph has none.
- schema_changes – Return one line per removal or tightening that
newmakes tostored. - stored_schema_fingerprint – Hash the published schema, including descriptions and declaration order.
- write_stored_schema – Publish
schemaas the graph's current schema.
Attributes:
- NO_SCHEMA_FINGERPRINT – Expected fingerprint for a publication that requires no stored schema.