code: def check_requirements_imports():
      """
      Use deptry to find issues with dependencies.
  
      Runs deptry on the core codebase (excluding handlers) + the main requirements.txt file.
      Then runs it on each handler codebase and requirements.txt individually.
      """
  
      # Run against the main codebase
      errors = run_deptry(
          ",".join([MAIN_REQS_PATH, GRPC_REQS_PATH, DOCKER_REQS_PATH]),
          get_ignores_str(MAIN_RULE_IGNORES),
          ".",
          f"--extend-exclude \"{'|'.join(MAIN_EXCLUDE_PATHS)}\"",
      )
      print_errors(MAIN_REQS_PATH, errors)
  
      # Run on each handler
      for file in HANDLER_REQS_PATHS:
          errors = run_deptry(
              f"{file},{MAIN_REQS_PATH},{TEST_REQS_PATH}",
              get_ignores_str(HANDLER_RULE_IGNORES),
              os.path.dirname(file),
          )
          print_errors(file, errors)
  
file_path: mindsdb/tests/scripts/check_requirements.py
imports: import glob
  import re
  import sys
  import subprocess
  import os
  import json
label_desc: Use image node_id 7 for calling a global function with example usage: check_requirements_imports() without return types