code: def _register_necessary_watchers(
      self, module_paths: Dict[str, Set[str]]
  ) -> None:
      for name, paths in module_paths.items():
          for path in paths:
              if self._file_should_be_watched(path):
                  self._register_watcher(path, name)
  
imports: import collections
  import os
  import sys
  import types
  from typing import Callable, Dict, List, Optional, Set
  from streamlit import config, file_util
  from streamlit.folder_black_list import FolderBlackList
  from streamlit.logger import get_logger
  from streamlit.source_util import get_pages
  from streamlit.watcher.path_watcher import NoOpPathWatcher, get_default_path_watcher_class
label_desc: Use image node_id 11 for calling the LocalSourcesWatcher obj's underlying member method code with example usage: obj._register_necessary_watchers(module_paths) without return types