code: def _get_immediate_subdirectories(a_dir):
      return [
          name
          for name in os.listdir(a_dir)
          if os.path.isdir(os.path.join(a_dir, name))
      ]
  
imports: import io
  import os
  import sys
  import tokenize
  import shutil
  import contextlib
  import setuptools
  import distutils
  from setuptools.py31compat import TemporaryDirectory
  from pkg_resources import parse_requirements
  from pkg_resources.py31compat import makedirs
label_desc: Use image node_id 2 for calling a global function with example usage: _get_immediate_subdirectories(a_dir) and returns: unknown