code: def iterate_all_python_files(base_path):
      # TODO support ignored directories/files
      for dirname, subdirlist, filelist in os.walk(base_path):
          if "__pycache__" in dirname:
              continue
          for filename in filelist:
              if filename.endswith(".py"):
                  yield os.path.join(base_path, dirname, filename)
  
imports: import functools
  import hashlib
  import os.path
  import re
  import sys
  from pathlib import Path
  import pkg_resources
  import sacred.optional
  from sacred import SETTINGS
  from sacred.utils import iter_prefixes
label_desc: Use image node_id 8 for calling a global function with example usage: iterate_all_python_files(base_path) without return types