itay livni
12/02/2019, 8:23 PMflow_state.result[ifelse_return].result
Nancy
12/02/2019, 8:27 PMitay livni
12/02/2019, 8:30 PMmerge
?Nancy
12/02/2019, 8:34 PMwith Flow("My Flow"):
true_branch = ActionIfTrue()
false_branch = ActionIfFalse()
ifelse(CheckCondition(), true_branch, false_branch)
merged_result = merge(true_branch, false_branch)
itay livni
12/02/2019, 8:37 PMmerged_result
is in another file.get_defs_state.result[merge].result
josh
12/02/2019, 8:42 PMIn [10]: flow_state.result[merged_result].result
Out[10]: True
merged_result
being in another fileitay livni
12/02/2019, 8:45 PMjosh
12/02/2019, 8:49 PMitay livni
12/02/2019, 8:52 PM# Get Disambiguated Definitions
get_defs_state = get_defs_flow.run(
parameters=dict(
term=args.term,node_artifact_id=node_artifact_id,
node_artifact_flpth=node_artifact_flpth
)
)
get_defs_flow.visualize(flow_state=get_defs_state)
#definitions_df = get_defs_flow.get_tasks()
definitions_df = get_defs_state.result[definitions_df].result
josh
12/02/2019, 8:54 PMitay livni
12/02/2019, 8:56 PMjosh
12/02/2019, 9:00 PMtask = get_defs_flow.get_tasks()[...] # get the task
get_defs_state.result[task].result
get_tasks
itay livni
12/02/2019, 9:01 PMjosh
12/02/2019, 9:02 PMIn [21]: flow.get_tasks()
Out[21]:
[<Task: CompareValue: "True">,
<Task: check>,
<Task: Merge>,
<Task: True>,
<Task: CompareValue: "False">,
<Task: False>]
itay livni
12/02/2019, 9:08 PMjosh
12/02/2019, 9:09 PMitay livni
12/02/2019, 9:09 PM