Skip to content

Commit

Permalink
added CodeItem in ContentItem tagged union.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo-Omenetti committed Jan 17, 2025
1 parent 378209e commit 697d015
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docling_core/types/doc/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,7 @@ class KeyValueItem(DocItem):
PictureItem,
TableItem,
KeyValueItem,
CodeItem,
],
Field(discriminator="label"),
]
Expand Down

0 comments on commit 697d015

Please sign in to comment.