class_docstr: Watches multiple paths.
docstr: Stop watching a path.
code: def stop_watching_path(
      self, path: str, callback: Callable[[str], None]
  ) -> None:
      """Stop watching a path."""
      folder_path = os.path.abspath(os.path.dirname(path))
  
      with self._lock:
          folder_handler = self._folder_handlers.get(folder_path)
  
          if folder_handler is None:
              LOGGER.debug(
                  "Cannot stop watching path, because it is already not being "
                  "watched. %s",
                  folder_path,
              )
              return
  
          folder_handler.remove_path_change_listener(path, callback)
  
          if not folder_handler.is_watching_paths():
              self._observer.unschedule(folder_handler.watch)
              del self._folder_handlers[folder_path]
  
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 6 for calling the _MultiPathWatcher obj's underlying member method code with example usage: obj.stop_watching_path(path, callback) without return types