From afe7f7668d6f8c533ebef0b4dec2363f906ddac8 Mon Sep 17 00:00:00 2001 From: Andrea Ponti Date: Tue, 25 Mar 2025 14:03:34 +0100 Subject: [PATCH] Add section attribute --- parse_document_model/attributes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/parse_document_model/attributes.py b/parse_document_model/attributes.py index b04128d..ef10a29 100644 --- a/parse_document_model/attributes.py +++ b/parse_document_model/attributes.py @@ -27,3 +27,4 @@ class PageAttributes(Attributes): class TextAttributes(Attributes): bounding_box: list[BoundingBox] = [] level: Optional[int] = Field(None, ge=1, le=4) + section: Optional[str] = None