binarymatt / pyres

a resque clone in python
http://github.com/binarydud/pyres
MIT License
955 stars 130 forks source link

redis reference inside job #52

Closed binarymatt closed 13 years ago

binarymatt commented 13 years ago

I'd like to be able to easily access the redis instance that a job came from, within the perform method of the job class.

binarymatt commented 13 years ago

might be able to do this by attaching the resq object to the class before perform method is called.

binarymatt commented 13 years ago

i'm an idiot, it's already there.