Hi guys, quick question - I would like to run a ta...
# ask-community
i
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
Hey @Ilay Gordon! Glad you found the
SKIP
signal, that’s definitely the preferred pattern here.