Skip to main content
Version: latest

agrag.common.data_models.structure.section_keys

section_keys(document:Document) -> list[UUID]

Return one stable key for each section.

A key stays the same across versions while the heading path of the section and its place among sections with the same path stay the same.

Parameters:

Returns:

  • list[UUID] – The keys, in the order of document.sections.