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 os
  import re
  import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: get_immediate_subdirectories(a_dir) and returns: unknown