Skip to content

Commit 083e157

Browse files
authored
Update executorlib.py
1 parent 92e7988 commit 083e157

File tree

1 file changed

+2
-2
lines changed
  • python_workflow_definition/src/python_workflow_definition

1 file changed

+2
-2
lines changed

python_workflow_definition/src/python_workflow_definition/executorlib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def _get_value(result_dict: dict, nodes_new_dict: dict, link_dict: dict, exe: Ex
3434
if source_handle is None:
3535
return result
3636
else:
37-
return exe.submit(fn=get_item, obj=result, key=source_handle)
37+
return exe.submit(get_item, obj=result, key=source_handle)
3838

3939

4040
def load_workflow_json(file_name: str, exe: Executor):
@@ -72,7 +72,7 @@ def load_workflow_json(file_name: str, exe: Executor):
7272
)
7373
for k, v in lst[1].items()
7474
}
75-
result_dict[lst[0]] = exe.submit(fn=node, **kwargs)
75+
result_dict[lst[0]] = exe.submit(node, **kwargs)
7676
last_key = lst[0]
7777

7878
return result_dict[last_key]

0 commit comments

Comments
 (0)