Skip to main content
Version: 0.0.8 (stable)

agrag.ingestion.reports.update_result.UpdateResult

Bases: BaseModel

Summary of an update or soft deletion.

Attributes:

  • document_key (str) – Stable identity used for the document node.
  • no_op (bool) – Whether no graph changes were needed.
  • previous_content_hash (str | None) – Hash stored before the operation, if present.
  • new_content_hash (str | None) – Hash written by an update. None on deletion, and when a name conflict left the update unwritten under SKIP or QUARANTINE.
  • parts_closed (int) – Number of open HAS_PART edges closed.
  • add_result (AddResult | None) – Ingestion details for changed content, if any.
  • decision (UpdateDecision | None) – The outcome selected for an update, or None on deletion.

add_result​

add_result: AddResult | None = None

decision​

decision: UpdateDecision | None = None

document_key​

document_key: str

new_content_hash​

new_content_hash: str | None = None

no_op​

no_op: bool

parts_closed​

parts_closed: int = 0

previous_content_hash​

previous_content_hash: str | None = None