From cf63857a58f5e3d9b81745dcf51e6c8582c5b03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Jesus?= Date: Mon, 14 Jan 2019 12:09:40 +0000 Subject: [PATCH] Fix example in documents in callback.rst Callback example is missing a Job import in order to work correctly. Although this is trivial, I think it should be corrected --- docs/callback.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/callback.rst b/docs/callback.rst index df6abd3..799a7c9 100644 --- a/docs/callback.rst +++ b/docs/callback.rst @@ -29,7 +29,7 @@ initialization. .. testcode:: from kafka import KafkaConsumer - from kq import Worker + from kq import Worker, Job def callback(status, message, job, result, exception, stacktrace):