mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-01 04:48:13 +08:00
Add warning about asyn_task refactor
This commit is contained in:
@@ -7,6 +7,9 @@ Tasks
|
||||
async_task()
|
||||
------------
|
||||
|
||||
.. warning:: Since Python 3.7 `async` became a reserved keyword and was refactored to `async_task`
|
||||
|
||||
|
||||
Use :func:`async_task` from your code to quickly offload tasks to the :class:`Cluster`:
|
||||
|
||||
.. code:: python
|
||||
|
||||
Reference in New Issue
Block a user