Skip to content

Commit

Permalink
Added type annotation for "_watched_files".
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasRzepka committed Oct 4, 2024
1 parent d9375c6 commit cf43f12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/watchdog/observers/read_directory_changes.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
super().__init__(event_queue, watch, timeout=timeout, event_filter=event_filter)
self._lock = threading.Lock()
self._whandle: HANDLE | None = None
self._watched_files = {}
self._watched_files: dict[str, str] = {}

def on_thread_start(self) -> None:
watch_path = self.watch.path
Expand Down

0 comments on commit cf43f12

Please sign in to comment.