diff --git a/docling/datamodel/document.py b/docling/datamodel/document.py index cc12d7d8..91058110 100644 --- a/docling/datamodel/document.py +++ b/docling/datamodel/document.py @@ -117,9 +117,9 @@ class ConvertedDocument(BaseModel): errors: List[Dict] = [] # structure to keep errors pages: List[Page] = [] - assembled: AssembledUnit = None + assembled: Optional[AssembledUnit] = None - output: DsDocument = None + output: Optional[DsDocument] = None def to_ds_document(self) -> DsDocument: title = ""