Selaa lähdekoodia

Chord does not include self.args. Closes #2299

Conflicts:
	celery/canvas.py
Ask Solem 10 vuotta sitten
vanhempi
commit
46830e7bae
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      celery/canvas.py

+ 1 - 0
celery/canvas.py

@@ -604,6 +604,7 @@ class chord(Signature):
     def apply_async(self, args=(), kwargs={}, task_id=None,
                     producer=None, publisher=None, connection=None,
                     router=None, result_cls=None, **options):
+        args = tuple(args) + tuple(self.args) if args else self.args
         body = kwargs.get('body') or self.kwargs['body']
         kwargs = dict(self.kwargs, **kwargs)
         body = body.clone(**options)