From be7014c793ea962348a905d1e1d6ff352975b2c0 Mon Sep 17 00:00:00 2001 From: almogch Date: Mon, 4 May 2026 19:35:32 +0300 Subject: [PATCH] fix(alerts): correct time_filter_type annotation to single string The time_filter_type parameter in alerts history query was annotated as list[str] but is actually a single string value. Bump version to 1.27.2. --- CHANGES | 4 ++++ intezer_sdk/__init__.py | 2 +- intezer_sdk/alerts.py | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGES b/CHANGES index 34adf14..cdcc132 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,7 @@ +1.27.2 +------- +- Fix time_filter_type type annotation in alerts history query to be a single string instead of a list + 1.27.1 ------- - Add case_association_time to alert diff --git a/intezer_sdk/__init__.py b/intezer_sdk/__init__.py index a873751..b5476c1 100644 --- a/intezer_sdk/__init__.py +++ b/intezer_sdk/__init__.py @@ -1 +1 @@ -__version__ = '1.27.1' +__version__ = '1.27.2' diff --git a/intezer_sdk/alerts.py b/intezer_sdk/alerts.py index e5bcec7..9926268 100644 --- a/intezer_sdk/alerts.py +++ b/intezer_sdk/alerts.py @@ -74,7 +74,7 @@ def generate_alerts_history_search_filters(*, device_private_ips: list[str] = None, device_external_ips: list[str] = None, device_ids: list[str] = None, - time_filter_type: list[str] = None, + time_filter_type: str = None, sort_order: str = None, ips: list[str] = None, domains: list[str] = None, @@ -153,7 +153,7 @@ def query_alerts_history(*, device_private_ips: list[str] = None, device_external_ips: list[str] = None, device_ids: list[str] = None, - time_filter_type: list[str] = None, + time_filter_type: str = None, sort_order: str = None, ips: list[str] = None, domains: list[str] = None,