Milly gupta
02/08/2021, 11:31 PMKyle Moon-Wright
02/08/2021, 11:54 PMMilly gupta
02/08/2021, 11:58 PMKyle Moon-Wright
02/09/2021, 12:07 AMflow.run()
) to get all task state information for the Flow Run. Otherwise, either a task level or flow level state handler will have to suffice, and not this Context stuff as previously suggested.Milly gupta
02/09/2021, 12:10 AMKyle Moon-Wright
02/09/2021, 12:17 AMMilly gupta
02/09/2021, 12:20 AMKyle Moon-Wright
02/09/2021, 12:39 AMquery {
flow_run(
where: {
state: {_eq: "Failed"},
flow_id: {eq: "MY_FLOW_ID"},
}
) {
task_runs(
where: {state: {_eq: "Failed"}}
){
name,
state_message,
created
}
}
}
Milly gupta
02/09/2021, 1:35 AMKyle Moon-Wright
02/09/2021, 1:41 AMclient.graphql(
"""
query{
flow{
name,
...
}
}
"""
)
Milly gupta
02/09/2021, 1:42 AMKyle Moon-Wright
02/09/2021, 1:50 AMMilly gupta
02/09/2021, 1:52 AMKyle Moon-Wright
02/09/2021, 2:24 AM