From 2e2eab8453f1d7f85236f306283e2987562995d0 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Tue, 8 Feb 2022 21:13:09 -0800 Subject: Fighting with type hints. --- state_tracker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'state_tracker.py') diff --git a/state_tracker.py b/state_tracker.py index b375f89..1cf62af 100644 --- a/state_tracker.py +++ b/state_tracker.py @@ -109,7 +109,7 @@ class AutomaticStateTracker(StateTracker): """ @background_thread - def pace_maker(self, should_terminate) -> None: + def pace_maker(self, should_terminate: threading.Event) -> None: """Entry point for a background thread to own calling heartbeat() at regular intervals so that the main thread doesn't need to do so. -- cgit v1.3