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
Bianca Hoch
09/27/2022, 7:00 PM
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
Nick DeCraene
09/27/2022, 7:01 PM
ahhhh, yeah that makes a lot of sense, thanks!
✨ 1
Nick DeCraene
09/27/2022, 7:11 PM
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?
Nick DeCraene
09/27/2022, 7:12 PM
just to that we can still group parent/child tasks together for retries?
z
Zanie
09/27/2022, 7:34 PM
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.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.