I am creating tasks using the @app.task decorator.
@app.task(name=settings.CELERY_TASK_MY_TASK)
def my_task(object_slug):
Is it possible to have those tasks inherit attributes and parameters from a "superclass" kind of task?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire