SequentialTaskSet
handles task weights in an inconsistent way
#2739
Labels
SequentialTaskSet
handles task weights in an inconsistent way
#2739
Prerequisites
Description
Currently,
SequentialTaskSet
does not allow itstasks
attribute to be a dict, and throws the following error:However, if they weight is provided to the
@task
decorator, the tasks are actually repeated in the task list according to the weight:This is inconsistent.
It should be possible to provide task weights also in a dict, with similar repeated insertion into the list.
(Few would probably use it like that, but it removes the inconsistency).
The text was updated successfully, but these errors were encountered: