Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modified Job save and refresh to support additional, third party job attributes #91

Merged
merged 1 commit into from
Jul 17, 2012

Conversation

selwin
Copy link
Collaborator

@selwin selwin commented Jul 17, 2012

Hi there,

Attached is a patch that persists additional Job attributes in Redis. So now you can do:

job = Job.create(func)
job.foo = 'bar'
job.save() # Will save store 'foo' 

Any thoughts regarding the implementation?

additional ``Job`` attributes into Redis.
@nvie
Copy link
Collaborator

nvie commented Jul 17, 2012

Looks great at first sight. Will play with it a bit later tonight, I think. Big thanks for this one!

@nvie nvie merged commit 1fb0a1b into rq:master Jul 17, 2012
@nvie
Copy link
Collaborator

nvie commented Jul 17, 2012

Thanks, merged it. However, I see it's breaking the unit tests now. Will have to look into this later.

@selwin
Copy link
Collaborator Author

selwin commented Jul 17, 2012

Hmm, really? It passes all tests on my Mac, Python 2.7.1.

On Jul 18, 2012, at 4:02 AM, Vincent Driessen
reply@reply.github.com
wrote:

Thanks, merged it. However, I see it's breaking the unit tests now. Will have to look into this later.


Reply to this email directly or view it on GitHub:
#91 (comment)

@nvie
Copy link
Collaborator

nvie commented Jul 18, 2012

It doesn't do in the merged result (the latest master). It's related to other patches I accepted yesterday.

@nvie
Copy link
Collaborator

nvie commented Jul 18, 2012

I've set up Travis CI (it was about time!) to catch these automagically for me in the future. You can check the current build failure here: https://secure.travis-ci.org/#!/nvie/rq

Unfortunately, I'll have to look into the details at a later point in time. I'd appreciate it if you could take a look at it as well.

@selwin
Copy link
Collaborator Author

selwin commented Jul 18, 2012

Alright, I'll try to take a look at it tonight.

Win~

On Wed, Jul 18, 2012 at 2:49 PM, Vincent Driessen
reply@reply.github.com
wrote:

I've set up Travis CI (it was about time!) to catch these automagically for me in the future. You can check the current build failure here: https://secure.travis-ci.org/#!/nvie/rq

Unfortunately, I'll have to look into the details at a later point in time. I'd appreciate it if you could take a look at it as well.


Reply to this email directly or view it on GitHub:
#91 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants