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:
parent
f85caa02c9
commit
5f86cf1f5c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue