|
@@ -7,12 +7,6 @@ from ..utils import deprecated
|
|
send_task = current_app.send_task
|
|
send_task = current_app.send_task
|
|
|
|
|
|
|
|
|
|
-@deprecated(removal="2.3", alternative="Use task.apply_async() instead.")
|
|
|
|
-def apply_async(task, *args, **kwargs):
|
|
|
|
- """*[Deprecated]* Use `task.apply_async()`"""
|
|
|
|
- return task.apply_async(*args, **kwargs)
|
|
|
|
-
|
|
|
|
-
|
|
|
|
@deprecated(removal="2.3", alternative="Use task.apply() instead.")
|
|
@deprecated(removal="2.3", alternative="Use task.apply() instead.")
|
|
def apply(task, *args, **kwargs):
|
|
def apply(task, *args, **kwargs):
|
|
"""*[Deprecated]* Use `task.apply()`"""
|
|
"""*[Deprecated]* Use `task.apply()`"""
|