You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mypy configured strictly complains that some attributes, open for import by your users, aren't explicitly exported. This is a quality issue, since it muddies the boundary between public and non-public symbols/attributes.
src/app/data/unstructured/document/__init__.py:5: error: Module
"docling.datamodel.document" does not explicitly export attribute
"DoclingDocument" [attr-defined]
from docling.datamodel.document import DoclingDocument, SectionHeaderI...
^
src/app/data/unstructured/document/__init__.py:5: error: Module
"docling.datamodel.document" does not explicitly export attribute
"SectionHeaderItem" [attr-defined]
from docling.datamodel.document import DoclingDocument, SectionHeaderI...
^
src/app/data/unstructured/document/__init__.py:5: error: Module
"docling.datamodel.document" does not explicitly export attribute "TableItem"
[attr-defined]
from docling.datamodel.document import DoclingDocument, SectionHeaderI...
^
src/app/data/unstructured/document/__init__.py:5: error: Module
"docling.datamodel.document" does not explicitly export attribute "TextItem"
[attr-defined]
from docling.datamodel.document import DoclingDocument, SectionHeaderI...
^
src/app/data/unstructured/pipeline/documents/pipeline_documents.py:8: error:
Module "docling.datamodel.document" does not explicitly export attribute
"DoclingDocument" [attr-defined]
from docling.datamodel.document import ConversionResult, DoclingDocume...
Alternatives
Configuring Mypy to be more lax, reducing the benefits of this check. Since the solution is inexpensive and has no downsides, I prefer for it to be solved directly.
The text was updated successfully, but these errors were encountered:
Requested feature
Mypy configured strictly complains that some attributes, open for import by your users, aren't explicitly exported. This is a quality issue, since it muddies the boundary between public and non-public symbols/attributes.
Alternatives
Configuring Mypy to be more lax, reducing the benefits of this check. Since the solution is inexpensive and has no downsides, I prefer for it to be solved directly.
The text was updated successfully, but these errors were encountered: