From 073ed717fe4a81a0a95e9640a566a48500d683aa Mon Sep 17 00:00:00 2001 From: Ian Later Date: Wed, 12 Aug 2026 14:58:49 -0700 Subject: [PATCH] python(bug): is_stopped should use normal truthy check --- python/lib/sift_client/resources/runs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/lib/sift_client/resources/runs.py b/python/lib/sift_client/resources/runs.py index eff969c62..efba8c6b3 100644 --- a/python/lib/sift_client/resources/runs.py +++ b/python/lib/sift_client/resources/runs.py @@ -180,7 +180,7 @@ async def list_( filter_parts.append(cel.greater_than("stop_time", stop_time_after)) if stop_time_before: filter_parts.append(cel.less_than("stop_time", stop_time_before)) - if is_stopped is not None: + if is_stopped: filter_parts.append(cel.not_(cel.equals_null("stop_time"))) query_filter = cel.and_(*filter_parts)