Just a quick one to see if `ifelse` has been integ...
# prefect-community
d
Just a quick one to see if
ifelse
has been integrated within the imperative api yet?
c
Hi @David Haines - at this moment it has not been integrated; I might have been too hasty to open that issue. One of the benefits of the imperative API is that it is the most explicit API and rarely introduces new Tasks under the hood. If you look at the underlying code for all the Prefect conditional tasks they rely on the introduction of new utility tasks for comparing values, etc. and we haven’t quite designed a way to avoid those new tasks in the imperative API version of
ifelse
d
Hi @Chris White. Many thanks for the update and further detail. Will check out the source for those conditionals.
👍 1