graflo.architecture.evolution.aspects.sync.plan¶
Planning the sync aspect: a reserved sync_hash field on every owned type.
The types are the ones a resource's sync block owns, so the aspect needs no
spec: the manifest already says which records replace which vertices.
Attributes¶
SYNC_HASH = 'sync_hash'
module-attribute
¶
__all__ = ['SYNC_HASH', 'plan_sync', 'sync_field']
module-attribute
¶
Classes¶
Functions:¶
plan_sync(manifest)
¶
The ops that give every type a resource owns a sync_hash.
Raises:
| Type | Description |
|---|---|
LiftError
|
no schema, or no resource declares a |
Source code in graflo/architecture/evolution/aspects/sync/plan.py
sync_field()
¶
sync_hash: a reserved digest of what the owner record wrote.