flask-rq
flask-rq copied to clipboard
Being able to submit jobs without pushing the context around
trafficstars
So I end up having to create an app context in order to do any jobs. I was wondering if it were possible to automatically include the app context.
I have to do this often
@job
def random():
with app.app_context():
x = 1 + 1
I would prefer to not have to type the
with app.app_context():
+1
+1
Sure, auto create app context (passing config) will be nice.
#27