https://prefect.io logo
m

Milly gupta

02/09/2021, 1:58 PM
Hi, has anyone tried creating dependent flows in Prefect. I tried to follow the example mentioned on prefect https://docs.prefect.io/api/latest/tasks/prefect.html#startflowrun but I am getting error "ImportError: cannot import name 'StartFlowRun'
m

Matthew Blau

02/09/2021, 2:18 PM
Hi Milly, to import StartFlow Run you need to do
Copy code
from prefect.tasks.prefect import StartFlowRun
m

Milly gupta

02/09/2021, 2:35 PM
Yeah that's what I did. But still getting the error