From dcbbd067f0e94637f475839eca0ae805d0b2a323 Mon Sep 17 00:00:00 2001 From: Jahn Thomas Fidje Date: Wed, 24 Feb 2021 12:33:58 +0100 Subject: [PATCH] bugfix: Add self.serializer when calling self.fetch_many in Job.fetch_dependencies (#1411) Co-authored-by: Jahn Thomas Fidje --- rq/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rq/job.py b/rq/job.py index a7a9fe43..2c0f596f 100644 --- a/rq/job.py +++ b/rq/job.py @@ -440,7 +440,7 @@ class Job(object): connection.watch(*self._dependency_ids) jobs = [job - for job in self.fetch_many(self._dependency_ids, connection=self.connection) + for job in self.fetch_many(self._dependency_ids, connection=self.connection, serializer=self.serializer) if job] return jobs