graflo.architecture.evolution.merge_report¶
What a merge did to the sources, and the resource order it leaves them in.
Attributes¶
Classes¶
AttachedProducer
dataclass
¶
A resource merge turned from creating a merged class into attaching to it.
Its steps producing the class now find it by key, write their
properties onto the node found, and create none.
Source code in graflo/architecture/evolution/merge_report.py
DemotedKey
dataclass
¶
A member's pre-merge key the merge demoted to a lookup-only secondary.
Source code in graflo/architecture/evolution/merge_report.py
Attributes¶
branches = ()
class-attribute
instance-attribute
¶
Funnel branches the member's records can complete, in order, up to the one over its own key. Two or more mean the key no longer deduplicates.
fields
instance-attribute
¶
member
instance-attribute
¶
secondary
instance-attribute
¶
side
instance-attribute
¶
vertex
instance-attribute
¶
Methods:¶
__init__(vertex, side, member, fields, secondary, branches=())
¶
KeyOwner
dataclass
¶
A resource a derived identity names that produces the merged class.
It computes the class's key, so it creates and fuses its nodes.
Source code in graflo/architecture/evolution/merge_report.py
MergeReport
dataclass
¶
What a merge did to the sources, beyond the manifest it returns.
Source code in graflo/architecture/evolution/merge_report.py
Attributes¶
attached = field(default_factory=list)
class-attribute
instance-attribute
¶
demoted = field(default_factory=list)
class-attribute
instance-attribute
¶
order_cycles = field(default_factory=list)
class-attribute
instance-attribute
¶
owners = field(default_factory=list)
class-attribute
instance-attribute
¶
references = field(default_factory=list)
class-attribute
instance-attribute
¶
shared_key_spaces = field(default_factory=list)
class-attribute
instance-attribute
¶
Methods:¶
__init__(demoted=list(), owners=list(), attached=list(), references=list(), shared_key_spaces=list(), order_cycles=list())
¶
OrderCycle
dataclass
¶
A resource order constraint the union's resource order leaves unmet.
resource depends on before for vertex -- it attaches to or references what before writes -- but runs first, because the constraints formed a cycle and the declared order was kept.
Source code in graflo/architecture/evolution/merge_report.py
PinnedReference
dataclass
¶
A resource that only references a re-keyed member, pointed at its key.
Its edge endpoints for the class now select key.
Source code in graflo/architecture/evolution/merge_report.py
SharedKeySpace
dataclass
¶
Members of one side whose demoted keys are one secondary identity.
Their key values are taken to be one space: an id of one member finds a node of another.