fix: missing type for default values (#12)

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2024-07-17 15:54:43 +02:00 committed by GitHub
parent 2baa35c548
commit d1d1724537
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = ""