graflo.architecture.backend.index¶
Manifest model for on-disk GraFlo backend directories.
Classes¶
CollectionEntry
¶
Bases: ConfigBaseModel
Inventory for one vertex type or edge collection on disk.
Source code in graflo/architecture/backend/index.py
GraFloIndex
¶
Bases: ConfigBaseModel
Self-describing manifest for a GraFlo file backend directory.
Source code in graflo/architecture/backend/index.py
Attributes¶
created_at = Field(default_factory=lambda: datetime.now(UTC).isoformat(), description='UTC timestamp when the export was finalized.')
class-attribute
instance-attribute
¶
edges = Field(default_factory=dict)
class-attribute
instance-attribute
¶
graflo_version = Field(..., description='GraFlo package version at export time.')
class-attribute
instance-attribute
¶
schema_hash = Field(..., description='Stable hash of the stored schema document.')
class-attribute
instance-attribute
¶
vertices = Field(default_factory=dict)
class-attribute
instance-attribute
¶
Functions:¶
backend_schema_hash(schema)
¶
Stable hash over schema deployment contract (graph + DB profile).