code: def _get_filenames(dir):
      dir = os.path.abspath(dir)
      return [
          os.path.join(dir, filename)
          for filename in sorted(os.listdir(dir))
          if filename.endswith(".py")
          and filename not in EXCLUDED_FILENAMES
      ]
  
file_path: streamlit/scripts/run_bare_integration_tests.py
imports: import os
  import subprocess
  import sys
  from multiprocessing import Lock
  from multiprocessing.pool import ThreadPool
  from typing import Set
  import click
label_desc: Use image node_id 2 for calling a global function with example usage: _get_filenames(dir) and returns: unknown