whoopsie, sorry: I thought that was documented :D
/me takes a note and adds to the todo-list
On Thursday, September 5, 2013 12:46:39 PM UTC+2, Manoj Kumar M wrote:
>
> Well, after some digging into source code I found the solution. In
> gluon/scheduler.py,
>
> def executor(queue, task, out):
>
Well, after some digging into source code I found the solution. In
gluon/scheduler.py,
def executor(queue, task, out):
W2P_TASK = Storage({'id' : task.task_id, 'uuid' : task.uuid})
_env.update({'W2P_TASK' : W2P_TASK})
W2P_TASK is an environment variable. So, to get the task id,
task_
2 matches
Mail list logo