Celery 2.5 Documentation1.4.5 License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. 16 Chapter 1. Getting Started CHAPTER 2 User Guide @task @decorator2 @decorator1 def add(x, y): return x + y Which means the @task decorator must be the top statement. 2.2.8 Task States Celery can keep track of the tasks current state. The state also contains result in the foo and bar modules being imported by the worker processes: >>> from celery.task.control import broadcast >>> broadcast("pool_restart", arguments={"modules": ["foo", "bar"]}) Use the reload0 码力 | 400 页 | 1.40 MB | 1 年前3
Celery 2.3 Documentation1.4.5 License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. 1.4. Resources 11 Celery Documentation, Release @task @decorator2 @decorator1 def add(x, y): return x + y Which means the @task decorator must be the top statement. 20 Chapter 2. User Guide Celery Documentation, Release 2.3.5 2.2.8 Task States Celery xml Running the tests on all supported Python versions There is a tox configuration file in the top directory of the distribution. To run the tests for all supported Python versions simply execute:0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery v4.0.0 Documentationcreate pid and log files in the current directory, to protect against multiple workers launching on top of each other you’re encouraged to put these in a dedicated directory: $ mkdir -p /var/run/celery documentation. License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. © Copyright 2009-2016, Ask Solem & contributors Absolute Imports The best practice for developers targetting Python 2 is to add the following to the top of every module: from __future__ import absolute_import This will force you to always use absolute0 码力 | 2106 页 | 2.23 MB | 1 年前3
Celery 2.5 Documentationdocumentation. License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. © Copyright 2009-2012, Ask Solem & Contributors @decorator2 @decorator1 def add(x, y): return x + y Which means the @task decorator must be the top statement. Task States Celery can keep track of the tasks current state. The state also contains result in the foo and bar modules being imported by the worker processes: >>> from celery.task.control import broadcast >>> broadcast("pool_restart", arguments={"modules": ["foo", "bar"]}) Use the reload0 码力 | 647 页 | 1011.88 KB | 1 年前3
Celery 3.0 Documentationcreate pid and log files in the current directory, to protect against multiple workers launching on top of each other you’re encouraged to put these in a dedicated directory: $ mkdir -p /var/run/celery documentation. License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. © Copyright 2009-2016, Ask Solem & contributors Absolute Imports The best practice for developers targetting Python 2 is to add the following to the top of every module: from __future__ import absolute_import This will force you to always use absolute0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery 2.3 Documentationdocumentation. License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. © Copyright 2009-2011, Ask Solem & Contributors @decorator2 @decorator1 def add(x, y): return x + y Which means the @task decorator must be the top statement. Task States Celery can keep track of the tasks current state. The state also contains xml Running the tests on all supported Python versions There is a tox configuration file in the top directory of the distribution. To run the tests for all supported Python versions simply execute:0 码力 | 530 页 | 900.64 KB | 1 年前3
Celery v4.4.5 Documentationcreate pid and log files in the current directory. To protect against multiple workers launching on top of each other you’re encouraged to put these in a dedicated directory: $ mkdir -p /var/run/celery documentation. License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. Release: Date: This document describes the current Absolute Imports The best practice for developers targeting Python 2 is to add the following to the top of every module: from __future__ import absolute_import This will force you to always use absolute0 码力 | 1215 页 | 1.44 MB | 1 年前3
Celery 4.4.3 Documentationcreate pid and log files in the current directory. To protect against multiple workers launching on top of each other you’re encouraged to put these in a dedicated directory: $ mkdir -p /var/run/celery documentation. License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. Release: Date: This document describes the current Absolute Imports The best practice for developers targeting Python 2 is to add the following to the top of every module: from __future__ import absolute_import This will force you to always use absolute0 码力 | 1209 页 | 1.44 MB | 1 年前3
Celery v4.4.4 Documentationcreate pid and log files in the current directory. To protect against multiple workers launching on top of each other you’re encouraged to put these in a dedicated directory: $ mkdir -p /var/run/celery documentation. License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. Release: Date: This document describes the current Absolute Imports The best practice for developers targeting Python 2 is to add the following to the top of every module: from __future__ import absolute_import This will force you to always use absolute0 码力 | 1215 页 | 1.44 MB | 1 年前3
Celery v4.4.6 Documentationcreate pid and log files in the current directory. To protect against multiple workers launching on top of each other you’re encouraged to put these in a dedicated directory: $ mkdir -p /var/run/celery documentation. License This software is licensed under the New BSD License. See the LICENSE file in the top distribution directory for the full license text. Release: Date: This document describes the current Absolute Imports The best practice for developers targeting Python 2 is to add the following to the top of every module: from __future__ import absolute_import This will force you to always use absolute0 码力 | 1216 页 | 1.44 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













