Created
September 3, 2012 04:50
-
-
Save bulkan/3606776 to your computer and use it in GitHub Desktop.
rq job attributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
job = Job.fetch(job_id) | |
job.my_attr = ['one', 'two'] | |
job.save() | |
# re-fetch job | |
job = Job.fetch(job_id) | |
print type(job.my_attr) | |
<type 'str'> |
I see. This may be considered a bug. It will be addressed in RQ 0.3.3. Thanks for the catch!
Related: rq/rq#126
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you print the string's value?