Closed riquedev closed 6 years ago
Huey pickles the task arguments because it has to serialize them and send them to the workers. Some objects cannot be pickled -- the io.BufferedReader being one of them (for what I hope are obvious reasons).
In other words, you cannot pass a request to a huey worker, which this error message is telling you.
I'm trying to run a Task inside a View in Django however I'm getting this error in the title.
settings.py | INSTALLED_APPS and HUEY
View:
Traceback:
Where am I going wrong?