Gregory Hunt
09/04/2023, 3:00 PMclient.read_flow_runs
by last updated date?read_flow_runs
filter expert, any ideas
runs = await client.read_flow_runs(
sort=FlowRunSort.EXPECTED_START_TIME_ASC,
flow_run_filter=FlowRunFilter(
start_time=FlowRunFilterStartTime(before_=start_time),
state=FlowRunFilterState(
type=FlowRunFilterStateType(
any_=[
"PENDING",
"RUNNING",
]
)
),
),
)
I have this so far and unsure what value maps to last updated?Nate
09/05/2023, 5:00 PMwhat value maps to last updated?do you mean you'd like to filter by when a flow run last entered a new state?
Gregory Hunt
09/05/2023, 5:16 PM