Celery 3.0 Documentationwith ignore_result=False. This applies to both Task subclasses and decorated tasks. Example Task subclass: class MyTask(Task): ignore_result = False Example decorated task: @app.task(ignore_result=False) entry-points to install additional sub- commands, where the value of the entry-point must point to a valid subclass of celery.bin.base.Command. There’s limited documentation, unfortunately, but you can find inspiration runtime? Answer: Yes, you can use the Django database scheduler, or you can create a new schedule subclass and override is_due(): from celery.schedules import schedule class my_schedule(schedule):0 码力 | 2110 页 | 2.23 MB | 1 年前3
Celery v4.0.0 Documentationwith ignore_result=False. This applies to both Task subclasses and decorated tasks. Example Task subclass: class MyTask(Task): ignore_result = False Example decorated task: @app.task(ignore_result=False) entry-points to install additional sub- commands, where the value of the entry-point must point to a valid subclass of celery.bin.base.Command. There’s limited documentation, unfortunately, but you can find inspiration runtime? Answer: Yes, you can use the Django database scheduler, or you can create a new schedule subclass and override is_due(): from celery.schedules import schedule class my_schedule(schedule):0 码力 | 2106 页 | 2.23 MB | 1 年前3
Celery v5.0.1 Documentationwith ignore_result=False. This applies to both Task subclasses and decorated tasks. Example Task subclass: class MyTask(Task): ignore_result = False Example decorated task: @app.task(ignore_result=False) entry-points to install additional sub- commands, where the value of the entry-point must point to a valid subclass of celery.bin.base.Command. There’s limited documentation, unfortunately, but you can find inspiration runtime? Answer: Yes, you can use the Django database scheduler, or you can create a new schedule subclass and override is_due(): from celery.schedules import schedule class my_schedule(schedule):0 码力 | 2313 页 | 2.13 MB | 1 年前3
Celery v5.0.2 Documentationwith ignore_result=False. This applies to both Task subclasses and decorated tasks. Example Task subclass: class MyTask(Task): ignore_result = False Example decorated task: @app.task(ignore_result=False) entry-points to install additional sub- commands, where the value of the entry-point must point to a valid subclass of celery.bin.base.Command. There’s limited documentation, unfortunately, but you can find inspiration runtime? Answer: Yes, you can use the Django database scheduler, or you can create a new schedule subclass and override is_due(): from celery.schedules import schedule class my_schedule(schedule):0 码力 | 2313 页 | 2.14 MB | 1 年前3
Celery v5.0.0 Documentationwith ignore_result=False. This applies to both Task subclasses and decorated tasks. Example Task subclass: class MyTask(Task): ignore_result = False Example decorated task: @app.task(ignore_result=False) entry-points to install additional sub- commands, where the value of the entry-point must point to a valid subclass of celery.bin.base.Command. There’s limited documentation, unfortunately, but you can find inspiration runtime? Answer: Yes, you can use the Django database scheduler, or you can create a new schedule subclass and override is_due(): from celery.schedules import schedule class my_schedule(schedule):0 码力 | 2309 页 | 2.13 MB | 1 年前3
Celery v5.0.5 Documentationwith ignore_result=False. This applies to both Task subclasses and decorated tasks. Example Task subclass: class MyTask(Task): ignore_result = False Example decorated task: @app.task(ignore_result=False) runtime? Answer: Yes, you can use the Django database scheduler, or you can create a new schedule subclass and override is_due(): from celery.schedules import schedule class my_schedule(schedule): Lower index means higher precedence. class celery.states.state[source] Task state. State is a subclass of str [https://docs.python.org/dev/library/stdtypes.html#str], implementing comparison methods0 码力 | 2315 页 | 2.14 MB | 1 年前3
Celery 2.0 Documentationobjects.create(url, info) We use subtask here to safely pass around the callback task. subtask is a subclass of dict used to wrap the arguments and execution options for a single task invocation. See Sets shortcut to create subtask instances: task.subtask(args, kwargs, options) subtask is actually a subclass of dict, which means it can be serialized with JSON or other encodings that doesn’t support complex URL("http://example.com/multiply").get_async(x=10, y=10) URL is a shortcut to the HttpDispatchTask. You can subclass this to extend the functionality. >>> from celery.task.http import HttpDispatchTask >>> res =0 码力 | 284 页 | 332.71 KB | 1 年前3
Celery 2.0 Documentationobjects.create(url, info) We use subtask here to safely pass around the callback task. subtask is a subclass of dict used to wrap the arguments and execution options for a single task invocation. See Sets shortcut to create subtask instances: task.subtask(args, kwargs, options) subtask is actually a subclass of dict, which means it can be serialized with JSON or other encodings that doesn’t support complex URL("http://example.com/multiply").get_async(x=10, y=10) URL is a shortcut to the HttpDispatchTask. You can subclass this to extend the functionality. >>> from celery.task.http import HttpDispatchTask >>> res = HttpDispatchTask0 码力 | 165 页 | 492.43 KB | 1 年前3
Celery 2.1 Documentationobjects.create(url, info) We use subtask here to safely pass around the callback task. subtask is a subclass of dict used to wrap the arguments and execution options for a single task invocation. See also a shortcut to create subtasks: task.subtask(args, kwargs, options) subtask is actually a dict subclass, which means it can be serialized with JSON or other encodings that doesn’t support complex Python URL("http://example.com/multiply").get_async(x=10, y=10) URL is a shortcut to the HttpDispatchTask. You can subclass this to extend the functionality. >>> from celery.task.http import HttpDispatchTask >>> res =0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 2.1 Documentationobjects.create(url, info) We use subtask here to safely pass around the callback task. subtask is a subclass of dict used to wrap the arguments and execution options for a single task invocation. See also: a shortcut to create subtasks: task.subtask(args, kwargs, options) subtask is actually a dict subclass, which means it can be serialized with JSON or other encodings that doesn’t support complex Python URL("http://example.com/multiply").get_async(x=10, y=10) URL is a shortcut to the HttpDispatchTask. You can subclass this to extend the functionality. >>> from celery.task.http import HttpDispatchTask >>> res = HttpDispatchTask0 码力 | 285 页 | 1.19 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













