task-queue

Is it possible to enqueue an instance method, as opposed to a function, using Python-RQ?

Is it possible to enqueue an instance method, as opposed to a function, using Python-RQ? Question: The examples provided in the Python-RQ documentation consistently show functions being enqueued, using queue.enqueue(). For example: job = q.enqueue(count_words_at_url, ‘http://nvie.com’) Is it possible to enqueue a method of a particular object instance? And if so, is this considered reasonable …

Total answers: 1