@connect_on_app_finalize
def add_chain_task(app):
 @app.task(name=u'celery.chain', shared=False, lazy=False)
 def chain(*args, **kwargs):
  raise NotImplementedError(u'chain is not a real task')
 return chain

@ connect_on_app_finalize def add_chain_task ( app ) : @ app . task ( name = u'celery.chain' , shared = False , lazy = False ) def chain ( * args , ** kwargs ) : raise NotImplementedError ( u'chain is not a real task' ) return chain
no longer used .