code: def get_expected_files(results_dir):
      """Recursively walk through the expected-results directory to enumerate
      all expected files."""
      return [
          os.path.relpath(f, results_dir)
          for f in glob.iglob(
              os.path.join(results_dir, "**/**"), recursive=True
          )
          if not os.path.isdir(f)
      ]
  
imports: import os
  from pathlib import Path
  import signal
  import sys
  import shlex
  import shutil
  import time
  from os.path import join
  import tempfile
  import hashlib
  import urllib
  import pytest
  import glob
  import subprocess
  import tarfile
  from snakemake_interface_executor_plugins.settings import SharedFSUsage
  from snakemake_interface_executor_plugins.registry import ExecutorPluginRegistry
  from snakemake import api, settings
  from snakemake.common import ON_WINDOWS
  from snakemake.resources import ResourceScopes
label_desc: Use image node_id 9 for calling a global function with example usage: get_expected_files(results_dir) and returns: unknown