Rename Pipeline.__init__()
argument max_loops_allowed
as it is misleading
#8291
Labels
Pipeline.__init__()
argument max_loops_allowed
as it is misleading
#8291
Summary and motivation
The name
max_loops_allowed
is misleading when callingPipeline.__init__()
as it doesn't limit the number of times a cycle in the Pipeline graph is executed.Instead it limits the number of times a single Component can run. This is misleading for the user and we should rename it to something more sensible.
max_run_per_component
could be a good alternative.We should deprecate
max_loops_allowed
to start with.The text was updated successfully, but these errors were encountered: