Giacomo Chiarella
02/13/2025, 4:46 PMJake Kaplan
02/13/2025, 6:03 PMflow
and not a flow_run
the client method would be here: https://github.com/PrefectHQ/prefect/blob/d4d350be76fce67ecb6accf94e12a65ac173dded/src/prefect/client/orchestration.py#L502-L517
so:
client = get_client()
await client.delete_flow(<id of flow>)
Giacomo Chiarella
02/13/2025, 6:05 PM