Hello, what is the correct syntax for this filter?
flow_run_filter = FlowRunFilter(state = FlowRunFilterState(type = ['COMPLETED']))
I am messing up somewhere in specifying the state type
✅ 1
Jehan Abduljabbar
06/12/2023, 5:54 PM
Nevermind. It was flow_run_filter = FlowRunFilter(state = FlowRunFilterState(type = FlowRunFilterStateType(any_= ['COMPLETED']))) for reference
z
Zanie
06/12/2023, 6:09 PM
👍 you can also generally provide this as a dictionary and we’ll parse it so