From b8fdb880f9458f769b541b14d8b7969434199562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tuana=20=C3=87elik?= Date: Mon, 13 Nov 2023 12:32:25 +0100 Subject: [PATCH] Update docstring in html.py (#6279) The explanation of 'sources' is inadequate especially because this is probably going to be most used with `LinkContentFetcher` that returns `List[ByteStream]` --- haystack/preview/components/file_converters/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haystack/preview/components/file_converters/html.py b/haystack/preview/components/file_converters/html.py index 450588db95..3af9b6a795 100644 --- a/haystack/preview/components/file_converters/html.py +++ b/haystack/preview/components/file_converters/html.py @@ -29,7 +29,7 @@ def run(self, sources: List[Union[str, Path, ByteStream]]): """ Converts a list of HTML files to Documents. - :param sources: Paths to HTML files. + :param sources: List of HTML file paths or ByteStream objects. :return: List of converted Documents. """ documents = []