https://prefect.io logo
Title
i

Ilay Gordon

04/05/2020, 12:28 PM
Hi guys, quick question - I would like to run a task conditioned by an optional
Parameter
. Which construct should I use?
ifelse
doesn't seem fit for this, since I don't have another task for the false condition. In airflow it was solved using a
DummyOperator
and it always looked somewhat redundant. Is there an idiomatic way with Prefect? UPDATE: nevermind, just read about the SKIP signal đŸ™‚
c

Chris White

04/05/2020, 5:43 PM
Hey @Ilay Gordon! Glad you found the
SKIP
signal, that’s definitely the preferred pattern here.