Merge "Allow to use 'task()' yaql function in task policies"
This commit is contained in:
commit
c7a10c2554
|
@ -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