Passing results to depending on job - python rq
问题 How do I pass the result of a job to a job that depends on it? What I currently do is passing id of the first job to the second, first = queue.enqueue(firstJob) second = queue.enqueue(secondJob, first.id, depends_on=first); And inside secondJob fetching the first job to get the result first = queue.fetch_job(previous_job_id) print first.result Is this the recomended way? Is there any other pattern that I can use to directly pass first job's result to second? 回答1: You can access info about the