I\'m trying to run celerybeat on a method task, and can\'t get anything to work out properly. Here\'s an example setup:
from celery.contrib.methods import t
The problem is that Celerybeat will not instantiate X before calling the method. The task_method filter defaults to calling the unbound method if the method is not bound to an object.
My question is, what are you trying to accomplish here? X has no state, so why not use a module-evel function?