I need a way to dispatch instance methods asynchronously using django-rq. I tried this:
MyClass(object):
@job
def my_func(self, some_arg):
# Do some stuff
Which fails on an AttributeError because the the function is not available in the module level namespace.
Anyone know a good way to solve this, without writing a pass through function at the module level that instantiates the object and then calls the method? That's what I've been doing but it seems so crufty.