https://prefect.io logo
j

John Grubb

02/16/2021, 5:33 PM
Hi there, I was wondering if it's possible somehow to
map
on
case
?
Copy code
with case.map(should_do_the_thing, True):
does not agree...
j

Jim Crist-Harif

02/16/2021, 5:37 PM
j

John Grubb

02/16/2021, 5:39 PM
Dangit, I promise I was almost there "for example, adding conditional tasks usingĀ `prefect.case`" Thanks
j

Jim Crist-Harif

02/16/2021, 5:41 PM
No worries! If there's a way we could have made this doc easier to find, please let us know. Glad to help.
j

John Grubb

02/16/2021, 5:47 PM
No, it's right there - "complex mapped pipelines" - I just always start reading at the top. Already done by the way, works perfectly..