Allow to use 'task()' yaql function in task policies

Change-Id: Ifdf032a9e1377ed73b80cc26fd659aabb417cfc5
Signed-off-by: Oleg Ovcharuk <vgvoleg@gmail.com>
This commit is contained in:
Oleg Ovcharuk 2019-06-06 23:43:16 +03:00
parent f85caa02c9
commit 5f86cf1f5c
1 changed files with 2 additions and 0 deletions

View File

@ -162,6 +162,7 @@ class TaskPolicy(object):
ctx_view = data_flow.ContextView(
task_ex.in_context,
data_flow.get_current_task_dict(task_ex),
data_flow.get_workflow_environment_dict(wf_ex),
wf_ex.context,
wf_ex.input
@ -181,6 +182,7 @@ class TaskPolicy(object):
ctx_view = data_flow.ContextView(
task_ex.in_context,
data_flow.get_current_task_dict(task_ex),
data_flow.get_workflow_environment_dict(wf_ex),
wf_ex.context,
wf_ex.input