graflo.migrate.io¶
I/O utilities for migration workflows.
full_hash(schema, ingestion_model, bindings)
¶
Stable hash over a composed deployment object.
Source code in graflo/architecture/evolution/hashing.py
graph_hash(schema)
¶
ingestion_hash(ingestion_model)
¶
Stable hash over the ingestion model (resources + transforms).
load_ingestion_model(path, schema=None)
¶
Load ingestion block from a manifest path.
Source code in graflo/migrate/io.py
load_manifest(path)
¶
Load and initialize graph manifest from YAML path.
load_schema(path)
¶
manifest_hash(manifest)
¶
Stable hash over all three manifest blocks.
This is the identity a revision chain verifies against: replaying a chain from its base must reproduce the recorded hash at every step.
Source code in graflo/architecture/evolution/hashing.py
plan_to_json_serializable(plan)
¶
Convert pydantic plan-like object to JSON payload.
Source code in graflo/migrate/io.py
schema_hash(schema)
¶
Stable hash over the schema deployment contract (graph + DB profile).
Source code in graflo/architecture/evolution/hashing.py
stable_hash(payload_obj)
¶
SHA-256 over a canonical JSON rendering of payload_obj.