Trying to avoid having RQ display a warning message (to console) about using the meta
dictionary for arbitrary property usage. We are using it as is specified, and the warning continues to display.
The warning displayed is as follows:
/usr/local/lib/python2.7/site-packages/rq/job.py:381: SyntaxWarning: Getting custom properties from the job instance directly will be unsupported as of RQ 0.4. Please use the meta dict to store all custom variables. So instead of this:
job.foo
Use this:
job.meta['foo']
SyntaxWarning)
Basically, it is pretty annoying because it interferes with normal debugging activities.
Any ideas on how to disable this?