https://prefect.io logo
Title
m

Madison Schott

06/30/2022, 8:30 PM
Hi all, getting this error when trying to run a flow with the
FlowRenameTask
File "/Users/madisonschott/dbt_snowflake/data_pipeline_test_new_account.py", line 5, in <module>
    from prefect.tasks.prefect.flow_rename import FlowRenameTask
ModuleNotFoundError: No module named 'prefect.tasks.prefect.flow_rename'
from prefect.tasks.prefect.flow_rename import FlowRenameTask
Nvm, looks like the docs need to be updated, this is the correct class for those interested-
from prefect.tasks.prefect import RenameFlowRun
a

Anna Geller

07/01/2022, 1:06 AM
Yup exactly, nice you figured it out