scott
05/08/2023, 4:36 PMCancelling state, and tasks still running after flow has entered Cancelled state - see threadscott
05/08/2023, 4:36 PMasync with get_client() as client:
await client.set_flow_run_state(flow_run_id=run.id, state=Cancelling(), force=True)scott
05/08/2023, 4:38 PMscott
05/08/2023, 4:38 PMscott
05/08/2023, 4:38 PM