class_docstr: Emits notifications when a single path is modified.
code: def __init__(
      self,
      md5: str,
      modification_time: float,
      *,  # keyword-only arguments:
      glob_pattern: Optional[str] = None,
      allow_nonexistent: bool = False,
  ):
      self.md5 = md5
      self.modification_time = modification_time
  
      self.glob_pattern = glob_pattern
      self.allow_nonexistent = allow_nonexistent
  
      self.on_changed = Signal()
  
imports: import os
  import threading
  from typing import Callable, Dict, Optional, cast
  from blinker import ANY, Signal
  from watchdog import events
  from watchdog.observers import Observer
  from watchdog.observers.api import ObservedWatch
  from streamlit.logger import get_logger
  from streamlit.util import repr_
  from streamlit.watcher import util
label_desc: Use image node_id 1 to create a new WatchedPath object from inherited base classes: object with example: obj = WatchedPath(md5, modification_time)