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

* Deprecate @component decorator is_greedy argument * Fix some typos and docstrings * Add _is_lazy_variadic test
14 lines
693 B
YAML
14 lines
693 B
YAML
---
|
|
enhancements:
|
|
- |
|
|
Add new `GreedyVariadic` input type. This has a similar behaviour to `Variadic` input type
|
|
as it can be connected to multiple output sockets, though the Pipeline will run it as soon
|
|
as it receives an input without waiting for others.
|
|
This replaces the `is_greedy` argument in the `@component` decorator.
|
|
If you had a Component with a `Variadic` input type and `@component(is_greedy=True)` you need
|
|
to change the type to `GreedyVariadic` and remove `is_greedy=true` from `@component`.
|
|
deprecations:
|
|
- |
|
|
`@component` decorator `is_greedy` argument is deprecated and will be removed in version `2.7.0`.
|
|
Use `GreedyVariadic` type instead.
|