Skip to content

Commit

Permalink
Update docstring in html.py (#6279)
Browse files Browse the repository at this point in the history
The explanation of 'sources' is inadequate especially because this is probably going to be most used with `LinkContentFetcher` that returns `List[ByteStream]`
  • Loading branch information
TuanaCelik authored Nov 13, 2023
1 parent f708cf6 commit b8fdb88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haystack/preview/components/file_converters/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit b8fdb88

Please sign in to comment.