From 55bf631c555634b12d68356f346e961ae24f7164 Mon Sep 17 00:00:00 2001 From: JGStew Date: Sat, 14 Oct 2023 15:24:17 -0400 Subject: [PATCH] improve session relevance --- examples/computers_delete_by_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/computers_delete_by_file.py b/examples/computers_delete_by_file.py index dafe65c..8d4ef3b 100644 --- a/examples/computers_delete_by_file.py +++ b/examples/computers_delete_by_file.py @@ -28,7 +28,7 @@ def main(): computers = '"' + '";"'.join(comp_file_lines) + '"' - session_relevance = f"ids of bes computers whose(now - last report time of it > 90 * day AND exists elements of intersections of (it; sets of ({computers})) of sets of (name of it; id of it as string))" + session_relevance = f"unique values of ids of bes computers whose(now - last report time of it > 90 * day AND exists elements of intersections of (it; sets of ({computers})) of sets of (name of it; id of it as string))" results = bes_conn.session_relevance_array(session_relevance)