https://prefect.io logo
f

Feliks Krawczyk

09/09/2019, 4:09 AM
Looking at Prefect I think I want to be doing something like:
Copy code
with Flow('dummy prefect job') as flow:
    SendStatusTask('running')
    DoSomthethingTask()
    SendStatusTask('finished')
    SendStatusTask('failed')
But I don’t exactly know the correct way of doing the triggers in Prefect land?