From c0ddb90251386a7e1f0d0a62a24dffacd4e02fc4 Mon Sep 17 00:00:00 2001 From: Sebastian Husch Lee Date: Wed, 23 Sep 2026 13:43:42 +0200 Subject: [PATCH] fix ruff --- haystack/components/converters/image/document_to_image.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/haystack/components/converters/image/document_to_image.py b/haystack/components/converters/image/document_to_image.py index feb1b7e3a9..8eca4d10d4 100644 --- a/haystack/components/converters/image/document_to_image.py +++ b/haystack/components/converters/image/document_to_image.py @@ -113,9 +113,9 @@ class DocumentToImageContent: :returns: Dictionary containing one key: - "image_contents": ImageContents created from the processed documents. These contain base64-encoded image - data and metadata. The order corresponds to the order of the input documents. A document that is missing the - required metadata keys, has an invalid file path, or has an unsupported MIME type gets None in its - position and a logged warning with the reason. + data and metadata. The order corresponds to the order of the input documents. A document that is + missing the required metadata keys, has an invalid file path, or has an unsupported MIME type gets + None in its position and a logged warning with the reason. """ if not documents: return {"image_contents": []}