code: def get_pyi_files(dir):
      pyi_files = dict()
      for path in glob.glob(f"{dir}/**/*.pyi", recursive=True):
          suffix_path = get_suffix_path(path, 2)
          pyi_files[suffix_path] = path
  
      return pyi_files
  
imports: import os
  import glob
  import sys
label_desc: Use image node_id 4 for calling a global function with example usage: get_pyi_files(dir) and returns: pyi_files