Adam
07/27/2022, 3:13 PMVadym Dytyniak
07/27/2022, 3:16 PMclient = Client()
where = {
'name': {'_like': 'example.%'},
'state': {'_eq': 'Scheduled'},
}
flow_run_query = {
'query': {
with_args('flow_run', {'where': where}): {
'id': True,
'name': True,
},
},
}
result = client.graphql(flow_run_query)
flow_runs = result['data']['flow_run']
for flow_run in flow_runs:
client.create_flow_run(flow_run.id)
Kevin Grismore
07/27/2022, 3:16 PMAdam
07/27/2022, 3:19 PM