File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ def from_dict(self, d):
298
298
tasks = d ['kwargs' ]['tasks' ]
299
299
if d ['args' ] and tasks :
300
300
# partial args passed on to first task in chain (Issue #1057).
301
- tasks [0 ]['args' ] = d [ 'args' ] + tasks [0 ]['args' ]
301
+ tasks [0 ]['args' ] = tasks [0 ]. _merge ( d ['args' ])[ 0 ]
302
302
return chain (* d ['kwargs' ]['tasks' ], ** kwdict (d ['options' ]))
303
303
304
304
@property
@@ -409,7 +409,7 @@ def from_dict(self, d):
409
409
if d ['args' ] and tasks :
410
410
# partial args passed on to all tasks in the group (Issue #1057).
411
411
for task in tasks :
412
- task ['args' ] = d ['args' ] + task [ 'args' ]
412
+ task ['args' ] = task . _merge ( d ['args' ])[ 0 ]
413
413
return group (tasks , ** kwdict (d ['options' ]))
414
414
415
415
def __call__ (self , * partial_args , ** options ):
You can’t perform that action at this time.
0 commit comments