code: def get_path_watcher_class(watcher_type: str) -> PathWatcherType:
      """Return the PathWatcher class that corresponds to the given watcher_type
      string. Acceptable values are 'auto', 'watchdog', 'poll' and 'none'.
      """
      if watcher_type == "auto":
          if watchdog_available:
              return EventBasedPathWatcher
          else:
              return PollingPathWatcher
      elif watcher_type == "watchdog" and watchdog_available:
          return EventBasedPathWatcher
      elif watcher_type == "poll":
          return PollingPathWatcher
      else:
          return NoOpPathWatcher
  
file_path: streamlit/lib/streamlit/watcher/path_watcher.py
imports: from typing import Callable, Optional, Type, Union
  import click
  import streamlit.watcher
  from streamlit import config, env_util
  from streamlit.logger import get_logger
  from streamlit.watcher.polling_path_watcher import PollingPathWatcher
label_desc: Use image node_id 6 for calling a global function with example usage: get_path_watcher_class(watcher_type) and returns: EventBasedPathWatcher, PollingPathWatcher, EventBasedPathWatcher, PollingPathWatcher, NoOpPathWatcher