File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def __init__(self,
3333 unit: str, optional: String that will be used to define the unit of each iteration
3434 unit_divisor: int, optional
3535 parent_task_id: int, optional: Huey Task ID if a parent Tasks exists.
36- cumulate2parents: bool, optional: option to cumulate progress to the parent task progress
36+ cumulate2parents: bool, optional: option to cumulate progress to the parent task progress
3737 Note: parent_task_id must be provided to cumulate progress to the parent task progress
3838 """
3939 assert isinstance (task , Task ), f'No task given: { task !r} (Hint: use "context=True")'
@@ -84,7 +84,7 @@ def update(self, n=1):
8484 if self .parent_task_id :
8585 # Store information for main task, too:
8686 ids .append (self .parent_task_id )
87-
87+
8888 if self .cumulate2parents :
8989 objects .append (
9090 TaskProgressModel (
You can’t perform that action at this time.
0 commit comments