Variable name mismatch (#1063)

Should be `redis = Redis()`
main
SSINGH 6 years ago committed by Selwin Ong
parent c4cbb3af2f
commit a23e3736d8

@ -17,7 +17,7 @@ by using `Job.fetch()`.
from redis import Redis
from rq.job import Job
connection = Redis()
redis = Redis()
job = Job.fetch('my_job_id', connection=redis)
print('Status: %s' $ job.get_status())
```

Loading…
Cancel
Save