app.celery.ContextTask.on_bound

classmethod ContextTask.on_bound(app)

Called when the task is bound to an app.

Note

This class method can be defined to do additional actions when the task class is bound to an app.