def task_context(self):
return task_context(self)<EOL>
Returns a context manager that sets this task as the current_task
global. Similar to flask's app.request_context. This is used by the
workers to make the global available inside of task functions.