From 3440165f393be3a070e4d70b43cff296171cde23 Mon Sep 17 00:00:00 2001 From: JimOverholt <115191247+JimOverholt@users.noreply.github.com> Date: Sat, 4 May 2024 19:02:40 -0700 Subject: [PATCH] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4c365d9e..b8d5d1d6 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,7 @@ alarms_from_n_hours = session.api.alarms.get(from_time=n) To get all critical alarms from past `n` hours: ```python +from catalystwan.utils.alarm_status import Severity n = 48 critical_alarms = session.api.alarms.get(from_time=n).filter(severity=Severity.CRITICAL) ```