I am using MySql as result backend for celery. I want to store program arguments in DB too.
For example:
add.apply_async(args=[num1, num2, user]
In this case I want to store user argument in DB, so that I can query later.
Currently, I return arguments provided which is stored in DB.
def add(num1, num2, user):
return [num1+num2, user]
However when the task is running state, user is not inserted and I am unable to query it in DB. Is there any solution/hack for this?