From 48f5a680130ea73bb4f6b4c3c68a9f3b917ca8c7 Mon Sep 17 00:00:00 2001 From: maces Date: Thu, 10 Sep 2020 02:51:10 +0200 Subject: [PATCH] fixed minor import error in jobs docs (#1334) --- docs/docs/jobs.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/jobs.md b/docs/docs/jobs.md index 1d39e9e..4720b63 100644 --- a/docs/docs/jobs.md +++ b/docs/docs/jobs.md @@ -90,7 +90,8 @@ The default serializer used is `pickle` ```python import json -from rq import Job, Queue +from rq import Queue +from rq.job import Job job = Job(connection=connection, serializer=json) queue = Queue(connection=connection, serializer=json)