@Marvin What is equivalent of apply_map in Prefect 2?
02/18/2023, 7:40 AM
Marvin: It seems that the equivalent of apply_map in Prefect 2 is the .map() implementation. The .map() function takes a task and applies it to each element of its input data. It also supports unmapped arguments, which allows you to pass static values that don't get mapped over. Additionally, the type() function allows queueing of tasks of the same type, but with different parameters.
You can find out more information on this matter in the Prefect 2 documentation, specifically the section on Quick Start, Style, and Tasks:
- [Quick Start - Prefect 2 - Coordinating the world's dataflows](https://docs.prefect.io/getting-started/overview/)
- [Style - Prefect 2 - Coordinating the world's dataflows](https://docs.prefect.io/contributing/style/)
- [Tasks - Prefect 2 - Coordinating the world's dataflows](https://docs.prefect.io/concepts/tasks/)
I hope this helps!