Переглянути джерело

If this chain was in a group, the args from the group are already on self

Aaron McMillin 9 роки тому
батько
коміт
00551933e0
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      celery/canvas.py

+ 1 - 1
celery/canvas.py

@@ -407,7 +407,7 @@ class chain(Signature):
 
     def freeze(self, _id=None, group_id=None, chord=None, root_id=None):
         _, results = self._frozen = self.prepare_steps(
-            (), self.tasks, root_id, None, self.app, _id, group_id, chord,
+            self.args, self.tasks, root_id, None, self.app, _id, group_id, chord,
         )
         return results[-1]