From b1216733e3c93dd0fb31d19c75e79fecffa38622 Mon Sep 17 00:00:00 2001 From: Peter Staar Date: Tue, 17 Dec 2024 14:20:44 +0100 Subject: [PATCH] reformatted the code Signed-off-by: Peter Staar --- docling_core/types/doc/labels.py | 2 +- docs/DoclingDocument.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docling_core/types/doc/labels.py b/docling_core/types/doc/labels.py index b77ee57c..5149df0b 100644 --- a/docling_core/types/doc/labels.py +++ b/docling_core/types/doc/labels.py @@ -49,7 +49,7 @@ class GroupLabel(str, Enum): FORM_AREA = "form_area" KEY_VALUE_AREA = "key_value_area" COMMENT_SECTION = "comment_section" - + def __str__(self): """Get string value.""" return str(self.value) diff --git a/docs/DoclingDocument.json b/docs/DoclingDocument.json index 650392fa..5d1e862e 100644 --- a/docs/DoclingDocument.json +++ b/docs/DoclingDocument.json @@ -266,7 +266,8 @@ "sheet", "slide", "form_area", - "key_value_area" + "key_value_area", + "comment_section" ], "title": "GroupLabel", "type": "string"