Dotan Asselmann
02/21/2022, 12:09 PMAnna Geller
from prefect import Client
flow_run_id = "paste UUID here"
client = Client()
client.graphql(
{
"mutation": {
'delete_flow_run(input: {flow_run_id: "'
+ flow_run_id
+ '"})': {"success", "error"}
}
}
)
And if you need it to clean up space in Prefect Server database, check out this threadDotan Asselmann
02/21/2022, 2:44 PMDotan Asselmann
02/21/2022, 2:45 PMAnna Geller