From 3402aec3c360f89f9c5d5538d38c16ba0c48d978 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 1 Oct 2025 06:14:18 -0600 Subject: [PATCH] Cleanup for mypy --- frigate/track/stationary_classifier.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frigate/track/stationary_classifier.py b/frigate/track/stationary_classifier.py index cf3452a78..dfe4711bb 100644 --- a/frigate/track/stationary_classifier.py +++ b/frigate/track/stationary_classifier.py @@ -20,7 +20,7 @@ class StationaryThresholds: # Objects to apply these thresholds to # If None, apply to all objects - objects: list[str] | None = None + objects: list[str] = [] # Threshold of IoU that causes the object to immediately be considered active # Below this threshold, assume object is active @@ -55,7 +55,6 @@ DYNAMIC_OBJECT_THRESHOLDS = StationaryThresholds( ) -@staticmethod def get_stationary_threshold(label: str) -> StationaryThresholds: """Get the stationary thresholds for a given object label."""