graflo.architecture.graph_types.location¶
Location indexing for nested graph traversal.
Classes¶
LocationIndex
¶
Bases: ConfigBaseModel
Immutable location index for nested graph traversal.
Source code in graflo/architecture/graph_types/location.py
Attributes¶
model_config = ConfigDict(frozen=True)
class-attribute
instance-attribute
¶
path = Field(default_factory=tuple)
class-attribute
instance-attribute
¶
Methods:¶
__contains__(item)
¶
__getitem__(item)
¶
__init__(*args, **kwargs)
¶
Allow LocationIndex((0,)) or LocationIndex(path=(0,)).
Source code in graflo/architecture/graph_types/location.py
__iter__()
¶
__len__()
¶
__lt__(other)
¶
accept_tuple(data)
classmethod
¶
Accept a single tuple as positional path (e.g. LocationIndex((0,))).
Source code in graflo/architecture/graph_types/location.py
congruence_measure(other)
¶
depth()
¶
extend(extension)
¶
filter(lindex_list)
¶
ProvenancePath
¶
Bases: ConfigBaseModel
Explicit provenance path for extracted observations.