Skip to content

Commit

Permalink
Fix example in documents in callback.rst
Browse files Browse the repository at this point in the history
Callback example is missing a Job import in order to work correctly.

Although this is trivial, I think it should be corrected
  • Loading branch information
cyberaa committed Jan 14, 2019
1 parent f5ff3f1 commit cf63857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/callback.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit cf63857

Please sign in to comment.