Madison Schott

    Madison Schott

    2 months ago
    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
    Anna Geller

    Anna Geller

    2 months ago
    Yup exactly, nice you figured it out