Browse Source

Implements chord.freeze()

Ask Solem 11 năm trước cách đây
mục cha
commit
06cb02dc71
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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']))