Ask Solem 11 gadi atpakaļ
vecāks
revīzija
f786b85c14
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      celery/app/builtins.py

+ 3 - 3
celery/app/builtins.py

@@ -137,6 +137,7 @@ def add_chunk_task(app):
 
 @connect_on_app_finalize
 def add_group_task(app):
+    """No longer used, but here for backwards compatibility."""
     _app = app
     from celery.canvas import maybe_signature
     from celery.result import result_from_tuple
@@ -166,6 +167,7 @@ def add_group_task(app):
 
 @connect_on_app_finalize
 def add_chain_task(app):
+    """No longer used, but here for backwards compatibility."""
     _app = app
 
     class Chain(app.Task):
@@ -179,9 +181,7 @@ def add_chain_task(app):
 
 @connect_on_app_finalize
 def add_chord_task(app):
-    """Every chord is executed in a dedicated task, so that the chord
-    can be used as a signature, and this generates the task
-    responsible for that."""
+    """No longer used, but here for backwards compatibility."""
     from celery import group, chord as _chord
     from celery.canvas import maybe_signature
     _app = app