From 2b256e352846cdf9b9c08c7e3d7d2cccc2ce8b07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristi=20Burc=C4=83?= Date: Tue, 18 Nov 2025 13:01:54 +0000 Subject: [PATCH] fix: In DocumentConverter.convert_string() make nullable name parameter actually optional --- docling/document_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docling/document_converter.py b/docling/document_converter.py index d6369529..709c8b90 100644 --- a/docling/document_converter.py +++ b/docling/document_converter.py @@ -310,7 +310,7 @@ class DocumentConverter: self, content: str, format: InputFormat, - name: Optional[str], + name: Optional[str] = None, ) -> ConversionResult: name = name or datetime.now().strftime("%Y-%m-%d_%H-%M-%S")