mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-06-26 22:00:13 +00:00

* Update ListJoiner to have default type List * Add reno * Add more tests * Remove unused import * Fix mypy * Update docstrings * Update haystack/components/joiners/list_joiner.py Co-authored-by: Amna Mubashar <amnahkhan.ak@gmail.com> --------- Co-authored-by: Amna Mubashar <amnahkhan.ak@gmail.com>
7 lines
354 B
YAML
7 lines
354 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Update ListJoiner to only optionally need list_type_ to be passed. By default it uses type List which acts like List[Any].
|
|
- This allows the ListJoiner to combine any incoming lists into a single flattened list.
|
|
- Users can still pass list_type_ if they would like to have stricter type validation in their pipelines.
|