I have a simple issue, we have as follows:
@task()
def upload_image(request):
var = request.POST
# ... do something
And we call it in another method the delay for this method like this:
job = upload_image.delay(request)
This not works obviously, after I read, you can pass messages to a celery task like a simple arg, args or kwargs** but what I just want is to pass a simple object, not a string or list of strings, is there anyway to do this in celery?
Regards!