celery.contrib.methods or with any task decorator: 注解 This means that you have to use the task decorator from a Celery app instance, and not the old-API: Caveats class celery.contrib.methods.task_method(task, \args, **kwargs*)