Hugo Kitano
06/08/2021, 11:16 PMKevin Kho
ping_slack_channel
to fail here? I think one thing you can do is set_upstream
on the collect_container_logs
so that it won’t run if that task fails.Hugo Kitano
06/08/2021, 11:20 PMKevin Kho
collect_container_logs
to make it a directly upstream taskHugo Kitano
06/08/2021, 11:21 PMslack_response.set_upstream(exit_code)
?Kevin Kho
Hugo Kitano
06/08/2021, 11:29 PMget_logs.set_upstream(collect_container_result)
instead of logs.set_upstream(exit_code)
and got a completely different graph. What would be the correct way of doing this?Kevin Kho
slack_response = ping_slack_channel(key, upstream_tasks=[get_logs])
Hugo Kitano
06/08/2021, 11:51 PMKevin Kho
with Flow as flow():
get_logs()
Kevin Kho
logs = get_logs()
, then you’ll get the weird graphHugo Kitano
06/08/2021, 11:55 PM