ArchivedContractRecordIssue
yosoi.runtime_contracts.ArchivedContractRecordIssue
class ArchivedContractRecordIssue(ImmutableModel):
Retain a rejected portable candidate with its field issues.
Attributes: document_id: Identity of the source document. region: Grouping region lineage, or None for an ungrouped candidate. candidate_fields: Original findings grouped by schema field ID. fields: Reasons the candidate did not become an accepted record.
Source: python/yosoi/runtime_contracts.py:262
Members below are declared on this class. Inherited Pydantic methods and generated constructor signatures are not expanded.
Fields and class attributes
Section titled “Fields and class attributes”document_id: str
region: RegionLineage | None = None
candidate_fields: tuple[ArchivedContractCandidateField, ...] = Field(repr=False)
fields: tuple[FieldIssue, ...] = Field(repr=False)