diff --git a/docling/backend/json/docling_json_backend.py b/docling/backend/json/docling_json_backend.py index e950f4ce..73ac6972 100644 --- a/docling/backend/json/docling_json_backend.py +++ b/docling/backend/json/docling_json_backend.py @@ -51,7 +51,7 @@ class DoclingJSONBackend(DeclarativeDocumentBackend): return e @override - def convert(self): + def convert(self) -> DoclingDocument: if isinstance(self._doc_or_err, DoclingDocument): return self._doc_or_err else: