浏览代码

Removes celery.execute.apply_async (scheduled for 2.3)

Ask Solem 13 年之前
父节点
当前提交
c3af4cf596
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      celery/execute/__init__.py

+ 0 - 6
celery/execute/__init__.py

@@ -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()`"""