Skip to content

Commit c19c516

Browse files
authored
chore: typehint DoclingDocument.export_to_dict return type (#264)
Signed-off-by: Eugene <[email protected]>
1 parent a258d52 commit c19c516

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docling_core/types/doc/document.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2888,7 +2888,7 @@ def export_to_dict(
28882888
mode: str = "json",
28892889
by_alias: bool = True,
28902890
exclude_none: bool = True,
2891-
) -> Dict:
2891+
) -> Dict[str, Any]:
28922892
"""Export to dict."""
28932893
out = self.model_dump(mode=mode, by_alias=by_alias, exclude_none=exclude_none)
28942894

0 commit comments

Comments
 (0)