Skip to content

Commit d23d7a8

Browse files
committed
Add EMPTY_VALUE to TextItem
Signed-off-by: Christoph Auer <[email protected]>
1 parent d8b33a3 commit d23d7a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docling_core/types/doc/document.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,7 @@ class TextItem(DocItem):
842842
DocItemLabel.PARAGRAPH,
843843
DocItemLabel.REFERENCE,
844844
DocItemLabel.TEXT,
845+
DocItemLabel.EMPTY_VALUE,
845846
]
846847

847848
orig: str # untreated representation

docs/DoclingDocument.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2063,7 +2063,8 @@
20632063
"page_header",
20642064
"paragraph",
20652065
"reference",
2066-
"text"
2066+
"text",
2067+
"empty_value"
20672068
],
20682069
"title": "Label",
20692070
"type": "string"

0 commit comments

Comments
 (0)