Skip to content

Commit

Permalink
reformatted the code
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Staar <[email protected]>
  • Loading branch information
PeterStaar-IBM committed Dec 17, 2024
1 parent 6abc4d7 commit b121673
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docling_core/types/doc/labels.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion docs/DoclingDocument.json
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,8 @@
"sheet",
"slide",
"form_area",
"key_value_area"
"key_value_area",
"comment_section"
],
"title": "GroupLabel",
"type": "string"
Expand Down

0 comments on commit b121673

Please sign in to comment.