I want to do a very simple thing: Launch a worker to something and then return the answer to user. I\'m trying to do so using a combination of Flask and RQ.
impo
Problem with serializing arguments (you actually trying to serialize function object which is impossible with pickle).
pickle
Try
@app.route('/make/') def make(): job = q.enqueue(func=do_something, args=('argument',)) session['job'] = job return 'Done'