Hi, I want to de-register some flows programatically based on certain conditions. Is it possible to:
1. Get a list of all registered flows in python (i.e. the Python equivalent of
prefect get flows
), and
2. De-register some of these flows through python.
a
Anna Geller
03/21/2022, 10:02 AM
All of what you're asking is possible via GraphQL.
#1 To list all flows, use the flow query. One example:
Copy code
query {
flow {
flow_group_id
name
project {
name
}
version
}
}
# 2 To archive (aka deregister) some flows, use this mutation
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.