https://prefect.io logo
s

Sque

11/26/2020, 3:55 PM
Hi! I am a bit lost in the documentation! Can you point me in a reference on how to update programmatically all pipelines of a project? I find that you can do
flow.register()
but what about flows that you want to be removed? How do you remove deprecated flows?
c

Chris White

11/26/2020, 6:06 PM
To remove a flow you’ll want to call the
delete_flow
mutation; one way to do this is with the Prefect Python client. There are various examples of calling graphql routes via the Client on the GitHub repo, here’s an example: https://github.com/PrefectHQ/prefect/discussions/3611#discussioncomment-125312
🙏 1