graflo.link¶
Linking partial records to entities, over the key contract.
A producer that holds only some properties of the entities it describes -- an
extractor, a form, a partial feed -- states them as records
(PartialRecord) of a RecordGraph. This package links those records to
entities:
records-- the record, graph and resolution models;resolve--resolve_recordsidentifies a batch by keys alone, stages what it cannot identify with the reason, andwrite_record_graphswrites what resolved;candidates--gather_candidateslists the entities a staged record may be, graded against what it states, andsupportsays whether a candidate's features identify it.
Every keyed decision is graflo.hq.identify.identify; what this package
adds is batch state: records found by other records of the batch, staging,
minting, ownership and the write.
It is not exported from any graflo façade; import its modules directly
(graflo.link.records, graflo.link.resolve, graflo.link.candidates).
Modules:
| Name | Description |
|---|---|
candidates |
Gather the entities a staged record may be, without a model. |
records |
What a producer states about entities, before anything is known about which they are. |
resolve |
Resolve partial records to entities, then write what is resolved. |