Skip to content

Commit 33f2119

Browse files
committed
Add a type hint to fix mypy warnings
1 parent 6f786eb commit 33f2119

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/getting_started.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(self) -> None:
9999
self._toolbar_state = {"now": ""}
100100
self._toolbar_lock = threading.Lock()
101101
self._stop_thread_event = threading.Event()
102-
self._toolbar_thread = None
102+
self._toolbar_thread: threading.Thread | None = None
103103

104104
def _update_toolbar_state(self) -> None:
105105
"""Background thread worker to update toolbar state continuously."""

0 commit comments

Comments
 (0)