mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
fix: missing type for default values
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
0dfa4548d3
commit
57436b1a4c
@ -117,9 +117,9 @@ class ConvertedDocument(BaseModel):
|
|||||||
errors: List[Dict] = [] # structure to keep errors
|
errors: List[Dict] = [] # structure to keep errors
|
||||||
|
|
||||||
pages: List[Page] = []
|
pages: List[Page] = []
|
||||||
assembled: AssembledUnit = None
|
assembled: Optional[AssembledUnit] = None
|
||||||
|
|
||||||
output: DsDocument = None
|
output: Optional[DsDocument] = None
|
||||||
|
|
||||||
def to_ds_document(self) -> DsDocument:
|
def to_ds_document(self) -> DsDocument:
|
||||||
title = ""
|
title = ""
|
||||||
|
Loading…
Reference in New Issue
Block a user