Skip to content

Commit

Permalink
fix: missing type for default values (#12)
Browse files Browse the repository at this point in the history
Signed-off-by: Michele Dolfi <[email protected]>
  • Loading branch information
dolfim-ibm authored Jul 17, 2024
1 parent 2baa35c commit d1d1724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docling/datamodel/document.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit d1d1724

Please sign in to comment.