haystack/releasenotes/notes/deprecate_max_loops_allowed-2b17a9b442b68199.yaml
Silvano Cerza 5514676b5e
feat: Deprecate max_loops_allowed in favour of new argument max_runs_per_component (#8354)
* Deprecate max_loops_allowed in favour of new argument max_runs_per_component

* Add missing test file

* Some enhancements

* Add version that will remove deprecate stuff
2024-09-12 11:00:12 +02:00

13 lines
604 B
YAML

---
enhancements:
- |
Add new `Pipeline` init argument `max_runs_per_component`, this has the same identical
behaviour as the existing `max_loops_allowed` argument but is more descriptive of its actual effects.
- |
Add new `PipelineMaxLoops` to reflect new `max_runs_per_component` init argument
deprecations:
- |
`Pipeline` init argument `max_loops_allowed` is deprecated and will be remove in version `2.7.0`. Use `max_runs_per_component` instead.
- |
`PipelineMaxLoops` exception is deprecated and will be remove in version `2.7.0`. Use `PipelineMaxComponentRuns` instead.