Skip to content

Commit 53412ed

Browse files
authored
chore: re-export DocumentStream explicitly for type checkers (#3181)
fix: re-export DocumentStream explicitly for type checkers (PEP 484) Fixes #3165 Signed-off-by: Eugenio-BAYE <baye.eugenio.egnb@gmail.com>
1 parent d355af6 commit 53412ed

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docling/datamodel/base_models.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
)
1414
from docling_core.types.doc.base import PydanticSerCtxKey, round_pydantic_float
1515
from docling_core.types.doc.page import SegmentedPdfPage, TextCell
16-
from docling_core.types.io import DocumentStream
16+
from docling_core.types.io import (
17+
DocumentStream as DocumentStream,
18+
)
1719

1820
# DO NOT REMOVE; explicitly exposed from this location
1921
from PIL.Image import Image

0 commit comments

Comments
 (0)