fix: In DocumentConverter.convert_string() make nullable name parameter actually optional

This commit is contained in:
Cristi Burcă
2025-11-18 13:01:54 +00:00
parent ac9fc585bb
commit 2b256e3528

View File

@@ -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")