Abhas P
10/22/2021, 8:09 PMKevin Kho
delete_flow
mutation.Abhas P
10/22/2021, 8:17 PMfrom prefect.client.client import Client
Client.graphql(query)
Kevin Kho
query {
flow (where: {project: {name: {_eq: "bristech"}}}) {
name
id
project {
name
}
}
}
Kevin Kho
from prefect.client.client import Client
client = Client()
client.graphql(query)
Kevin Kho
mutation {
delete_flow(input: {flow_id: "fb022314-8f78-484e-8e1d-e5cabedc10b6"}) {
success
}
}
Kevin Kho
client.query()
again for this.