mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
add removed imports
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
557efde7dc
commit
0d261e52ed
@ -10,7 +10,9 @@ from docling_core.types.doc import (
|
||||
TableCell,
|
||||
)
|
||||
from docling_core.types.doc.page import SegmentedPdfPage, TextCell
|
||||
from docling_core.types.io import (
|
||||
|
||||
# DO NOT REMOVE; explicitly exposed from this location
|
||||
from docling_core.types.io import ( # noqa: F401
|
||||
DocumentStream,
|
||||
)
|
||||
from PIL.Image import Image
|
||||
|
@ -17,10 +17,34 @@ from typing import (
|
||||
)
|
||||
|
||||
import filetype
|
||||
from docling_core.types.doc import (
|
||||
|
||||
# DO NOT REMOVE; explicitly exposed from this location
|
||||
from docling_core.types.doc import ( # noqa: F401
|
||||
DocItem,
|
||||
DocItemLabel,
|
||||
DoclingDocument,
|
||||
PictureItem,
|
||||
SectionHeaderItem,
|
||||
TableItem,
|
||||
TextItem,
|
||||
)
|
||||
from docling_core.types.doc.document import ListItem # noqa: F401
|
||||
from docling_core.types.legacy_doc.base import ( # noqa: F401
|
||||
BaseText,
|
||||
Figure,
|
||||
GlmTableCell,
|
||||
PageDimensions,
|
||||
PageReference,
|
||||
Prov,
|
||||
Ref,
|
||||
)
|
||||
from docling_core.types.legacy_doc.base import Table as DsSchemaTable # noqa: F401
|
||||
from docling_core.types.legacy_doc.base import TableCell # noqa: F401
|
||||
from docling_core.types.legacy_doc.document import ( # noqa: F401
|
||||
CCSDocumentDescription as DsDocumentDescription,
|
||||
)
|
||||
from docling_core.types.legacy_doc.document import CCSFileInfoObject as DsFileInfoObject # noqa: F401
|
||||
from docling_core.types.legacy_doc.document import ExportedCCSDocument as DsDocument # noqa: F401
|
||||
from docling_core.utils.file import resolve_source_to_stream
|
||||
from docling_core.utils.legacy import docling_document_to_legacy
|
||||
from pydantic import BaseModel
|
||||
|
Loading…
Reference in New Issue
Block a user