code: def get_source_root_dir():
      return os.path.abspath(
          os.path.join(os.path.dirname(__file__), "..")
      )
  
imports: import argparse
  import copy
  import logging
  import os
  import platform
  import subprocess
  import sys
  import tempfile
  from typing import Dict
label_desc: Use image node_id 2 for calling a global function with example usage: get_source_root_dir() and returns: os