Zach Schumacher
02/24/2022, 4:27 PMwith flow:
start_date, end_date = Parameter("start-date", default=None), Parameter("end-date", default=None)
start_date, end_date = set_date_params(start_date, end_date)
matches = get_completed_matches_by_date_range(start_date, end_date)
there_are_matches = are_there_any_matches(matches)
with case(there_are_matches, True):
some_data = some_task.run(matches)
Kevin Kho
02/24/2022, 4:32 PM.run
under case?some_task
should have two upstream with the case and matches and the case should evaluate as False causing it to not run I thinkZach Schumacher
02/24/2022, 4:33 PMKevin Kho
02/24/2022, 4:34 PMZach Schumacher
02/24/2022, 4:35 PMKevin Kho
02/24/2022, 4:36 PM