fix: missing type for default values (#12)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
2baa35c548
commit
d1d1724537
@ -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