Python 3.x 芹菜链全局失效函数
我有这样的想法:Python 3.x 芹菜链全局失效函数,python-3.x,celery,celery-task,Python 3.x,Celery,Celery Task,我有这样的想法: @app.task def f1(a, b, c): do_work @app.task def f2(d, e, f): do_another_work @app.task def f(a, b, c, d, e, f): chain = (f1.si(a, b, c) | f2.si(d, e, f)() chain() 我需要一个全局on_失败函数,它可以读取所有参数 你能帮帮我吗 提前感谢, 乔尔
@app.task
def f1(a, b, c):
do_work
@app.task
def f2(d, e, f):
do_another_work
@app.task
def f(a, b, c, d, e, f):
chain = (f1.si(a, b, c) | f2.si(d, e, f)()
chain()
我需要一个全局on_失败函数,它可以读取所有参数
你能帮帮我吗
提前感谢,
乔尔