https://prefect.io logo
Title
n

Nitin Bansal

05/22/2023, 6:51 AM
ImportError: cannot import name 'apply_map' from 'prefect', getting this error while upgrading to Prefect 2.0. Try to find out but not able to get substitute of apply_map in Prefect 2. Need Help
z

Zanie

05/22/2023, 3:20 PM
There is no
apply_map
in Prefect 2. You can just write a for loop and call
map
repeatedly.