Skip to main content
Version: 0.0.10 (stable)

agrag.common.data_models.resolved_entity.MatchRecord

Bases: BaseModel

A stored match decision between two entities.

Attributes:

  • match_id (UUID) – The match edge's id.
  • entity_a_id (UUID) – The endpoint with the lower id.
  • entity_b_id (UUID) – The endpoint with the higher id.
  • active (bool) – Whether the match is currently in force.
  • comparator (str) – Name of the comparator that confirmed the match.
  • score (float | None) – Comparator score, when one was reported.
  • decided_at (datetime) – When the match was decided.

active​

active: bool

comparator​

comparator: str

decided_at​

decided_at: datetime

entity_a_id​

entity_a_id: UUID

entity_b_id​

entity_b_id: UUID

match_id​

match_id: UUID

score​

score: float | None