 Celery 2.5 Documentation@task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user`, that takes0 码力 | 647 页 | 1011.88 KB | 1 年前3 Celery 2.5 Documentation@task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user`, that takes0 码力 | 647 页 | 1011.88 KB | 1 年前3
 Celery 2.2 Documentation@task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user`, that takes0 码力 | 505 页 | 878.66 KB | 1 年前3 Celery 2.2 Documentation@task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user`, that takes0 码力 | 505 页 | 878.66 KB | 1 年前3
 Celery 2.3 Documentation@task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user`, that takes0 码力 | 530 页 | 900.64 KB | 1 年前3 Celery 2.3 Documentation@task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user`, that takes0 码力 | 530 页 | 900.64 KB | 1 年前3
 Celery 2.4 Documentationtask @task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to 5 Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution listing of task attributes and methods, please see the API reference. 2.2.1 Basics A task is a class that encapsulates a function and its execution options. Given a function create_user‘, that takes0 码力 | 395 页 | 1.54 MB | 1 年前3 Celery 2.4 Documentationtask @task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to 5 Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution listing of task attributes and methods, please see the API reference. 2.2.1 Basics A task is a class that encapsulates a function and its execution options. Given a function create_user‘, that takes0 码力 | 395 页 | 1.54 MB | 1 年前3
 Celery 2.4 Documentation@task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user`, that takes0 码力 | 543 页 | 957.42 KB | 1 年前3 Celery 2.4 Documentation@task def add(x, y): return x + y Behind the scenes the @task decorator actually creates a class that inherits from Task. The best practice is to only create custom task classes when you want to Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user`, that takes0 码力 | 543 页 | 957.42 KB | 1 年前3
 Celery 2.1 DocumentationCelery tasks are classes that inherits from the Task class. In this example we’re using a decorator that wraps the add function in an appropriate class for us automatically. See also The full documentation Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user, that takes two0 码力 | 463 页 | 861.69 KB | 1 年前3 Celery 2.1 DocumentationCelery tasks are classes that inherits from the Task class. In this example we’re using a decorator that wraps the add function in an appropriate class for us automatically. See also The full documentation Executing the task Whenever we want to execute our task, we use the delay() method of the task class. This is a handy shortcut to the apply_async() method which gives greater control of the task execution complete listing of task attributes and methods, please see the API reference. Basics A task is a class that encapsulates a function and its execution options. Given a function create_user, that takes two0 码力 | 463 页 | 861.69 KB | 1 年前3
 Celery v4.0.0 Documentationreturn value of a task use logging from my task learn about best practices create a custom task base class add a callback to a group of tasks split a task into several chunks optimize the worker see a list The last line shows the textual representation of the application: including the name of the app class (Celery), the name of the current main module (__main__), and the memory address of the object (0x100469fd0) app.config_from_object(celeryconfig) Example 3: Using a configuration class/object from celery import Celery app = Celery() class Config: enable_utc = True timezone = 'Europe/London' app.con0 码力 | 2106 页 | 2.23 MB | 1 年前3 Celery v4.0.0 Documentationreturn value of a task use logging from my task learn about best practices create a custom task base class add a callback to a group of tasks split a task into several chunks optimize the worker see a list The last line shows the textual representation of the application: including the name of the app class (Celery), the name of the current main module (__main__), and the memory address of the object (0x100469fd0) app.config_from_object(celeryconfig) Example 3: Using a configuration class/object from celery import Celery app = Celery() class Config: enable_utc = True timezone = 'Europe/London' app.con0 码力 | 2106 页 | 2.23 MB | 1 年前3
 Celery v5.0.2 Documentationreturn value of a task use logging from my task learn about best practices create a custom task base class add a callback to a group of tasks split a task into several chunks optimize the worker know what The last line shows the textual representation of the application: including the name of the app class (Celery), the name of the current main module (__main__), and the memory address of the object (0x100469fd0) app.config_from_object(celeryconfig) Example 3: Using a configuration class/object from celery import Celery app = Celery() class Config: enable_utc = True timezone = 'Europe/London' app.con0 码力 | 2313 页 | 2.14 MB | 1 年前3 Celery v5.0.2 Documentationreturn value of a task use logging from my task learn about best practices create a custom task base class add a callback to a group of tasks split a task into several chunks optimize the worker know what The last line shows the textual representation of the application: including the name of the app class (Celery), the name of the current main module (__main__), and the memory address of the object (0x100469fd0) app.config_from_object(celeryconfig) Example 3: Using a configuration class/object from celery import Celery app = Celery() class Config: enable_utc = True timezone = 'Europe/London' app.con0 码力 | 2313 页 | 2.14 MB | 1 年前3
 Celery v5.0.0 Documentationreturn value of a task use logging from my task learn about best practices create a custom task base class add a callback to a group of tasks split a task into several chunks optimize the worker know what The last line shows the textual representation of the application: including the name of the app class (Celery), the name of the current main module (__main__), and the memory address of the object (0x100469fd0) app.config_from_object(celeryconfig) Example 3: Using a configuration class/object from celery import Celery app = Celery() class Config: enable_utc = True timezone = 'Europe/London' app.con0 码力 | 2309 页 | 2.13 MB | 1 年前3 Celery v5.0.0 Documentationreturn value of a task use logging from my task learn about best practices create a custom task base class add a callback to a group of tasks split a task into several chunks optimize the worker know what The last line shows the textual representation of the application: including the name of the app class (Celery), the name of the current main module (__main__), and the memory address of the object (0x100469fd0) app.config_from_object(celeryconfig) Example 3: Using a configuration class/object from celery import Celery app = Celery() class Config: enable_utc = True timezone = 'Europe/London' app.con0 码力 | 2309 页 | 2.13 MB | 1 年前3
 Celery v5.0.1 Documentationreturn value of a task use logging from my task learn about best practices create a custom task base class add a callback to a group of tasks split a task into several chunks optimize the worker know what The last line shows the textual representation of the application: including the name of the app class (Celery), the name of the current main module (__main__), and the memory address of the object (0x100469fd0) app.config_from_object(celeryconfig) Example 3: Using a configuration class/object from celery import Celery app = Celery() class Config: enable_utc = True timezone = 'Europe/London' app.con0 码力 | 2313 页 | 2.13 MB | 1 年前3 Celery v5.0.1 Documentationreturn value of a task use logging from my task learn about best practices create a custom task base class add a callback to a group of tasks split a task into several chunks optimize the worker know what The last line shows the textual representation of the application: including the name of the app class (Celery), the name of the current main module (__main__), and the memory address of the object (0x100469fd0) app.config_from_object(celeryconfig) Example 3: Using a configuration class/object from celery import Celery app = Celery() class Config: enable_utc = True timezone = 'Europe/London' app.con0 码力 | 2313 页 | 2.13 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6














