How can I pass a django request object to a celery worker. When trying to pass a request object, it causes an error
Can't Pickle Input Objects
Celery seems to serialize any arguments passed to the worker. I tried using other serialization methods like JSON.
CELERY_TASK_SERIALIZER = "JSON"
But it does not work.
Is it possible to configure celery so that it does not serialize the data. Or I can convert the request object to a string before moving on to the worker, and then convert the object back to worker again.
Thanks in advance...
source share