hi there, are there any examples of using FilterTa...
# prefect-community
n
hi there, are there any examples of using FilterTasks in prefect 2.0? haven't found anything in the docs regarding these, so wondering if the path changed or if they were removed entirely
1
b
Hi Nick, in 2.0 this is now handled with pure python. Here's an article that may be helpful to you.
upvote 1
n
ahhhh, yeah that makes a lot of sense, thanks!
1
to follow up here, given that we can just use the python builtins in flow methods, why is the
.map()
method still around for tasks, instead of just using the builtin?
just to that we can still group parent/child tasks together for retries?
z
We’re planning on collapsing tasks submitted with
map
in the UI view, it’s also more performant as we submit all of the tasks concurrently which is nontrivial to do in a synchronous flow.
gratitude thank you 1
🚀 1