Skip to main content

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, or None on deletion.
  • chunks_closed (int) – Number of open PART_OF edges closed.
  • add_result (AddResult | None) – Ingestion details for changed content, if any.

add_result​

add_result: AddResult | None = None

chunks_closed​

chunks_closed: int = 0

document_key​

document_key: str

new_content_hash​

new_content_hash: str | None = None

no_op​

no_op: bool

previous_content_hash​

previous_content_hash: str | None = None