itay livni
11/29/2019, 6:31 PMifelse
the False
branch is a pass
. calced_def_df = calced_def_df.copy()
Is that the right way to implement this logic? I am getting a UserWarning: You are making a copy of a task that has dependencies on or to other tasks in the active flow context. The copy will not retain those dependencies.
"You are making a copy of a task that has dependencies on or to other tasks "
Jeremiah
11/29/2019, 6:32 PMitay livni
11/29/2019, 6:40 PMdf
the right way to mimic a pass in an ifelse ?
Chris White
11/30/2019, 1:07 AMitay livni
11/30/2019, 1:46 AMChris White
11/30/2019, 1:49 AMitay livni
11/30/2019, 1:54 AMChris White
11/30/2019, 1:55 AMitay livni
11/30/2019, 1:57 AMChris White
11/30/2019, 2:01 AM@task
def upstream_conditional_task():
# do stuff
if some_value is False:
raise signals.SKIP("Skip this task and any downstream tasks.")
calced_def_df
task, and raise the signal thereitay livni
11/30/2019, 2:38 AM