Explorar o código

Implements chord.freeze()

Ask Solem %!s(int64=11) %!d(string=hai) anos
pai
achega
06cb02dc71
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      celery/canvas.py

+ 3 - 0
celery/canvas.py

@@ -552,6 +552,9 @@ class chord(Signature):
         )
         self.subtask_type = 'chord'
 
+    def freeze(self, _id=None):
+        return self.body.freeze(_id)
+
     @classmethod
     def from_dict(self, d, app=None):
         args, d['kwargs'] = self._unpack_args(**kwdict(d['kwargs']))