code: def get_njit_funcs():
      """
      Identify all njit functions
  
      Parameters
      ----------
      None
  
      Returns
      -------
      out : list
          A list of (`module_name`, `func_name`) pairs
      """
      pkg_dir = pathlib.Path(__file__).parent
      module_names = [
          name for _, name, _ in pkgutil.iter_modules([str(pkg_dir)])
      ]
  
      njit_funcs = []
  
      for module_name in module_names:
          filepath = pathlib.Path(__file__).parent / f"{module_name}.py"
          file_contents = ""
          with open(filepath, encoding="utf8") as f:
              file_contents = f.read()
          module = ast.parse(file_contents)
          for node in module.body:
              if isinstance(node, ast.FunctionDef):
                  func_name = node.name
                  for decorator in node.decorator_list:
                      if isinstance(decorator, ast.Call) and isinstance(
                          decorator.func, ast.Name
                      ):
                          if decorator.func.id == "njit":
                              njit_funcs.append(
                                  (module_name, func_name)
                              )
  
      return njit_funcs
  
file_path: stumpy/stumpy/cache.py
imports: import ast
  import importlib
  import pathlib
  import pkgutil
  import site
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: get_njit_funcs() and returns: njit_funcs