Skip to content

Commit

Permalink
fixup! fix: Ensure group tasks are deeply deserialised
Browse files Browse the repository at this point in the history
  • Loading branch information
maybe-sybr committed Sep 16, 2020
1 parent 63d7558 commit c40ca3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion celery/canvas.py
Expand Up @@ -1028,7 +1028,9 @@ class group(Signature):

@classmethod
def from_dict(cls, d, app=None):
tasks = [maybe_signature(task) for task in d["kwargs"]["tasks"]]
tasks = [
maybe_signature(task, app=app) for task in d["kwargs"]["tasks"]
]
return _upgrade(
d, group(tasks, app=app, **d['options']),
)
Expand Down

0 comments on commit c40ca3e

Please sign in to comment.