code: def _get_dvc_args() -> List[str]:
      args = [sys.executable]
      if not is_binary():
          root_dir = os.path.abspath(os.path.dirname(__file__))
          main_entrypoint = os.path.join(root_dir, "__main__.py")
          args.append(main_entrypoint)
      return args
  
imports: import inspect
  import logging
  import os
  import subprocess
  import sys
  from contextlib import nullcontext
  from typing import TYPE_CHECKING, Any, List, Mapping, Optional, Sequence, Union
  from dvc.log import logger
  from dvc.env import DVC_DAEMON, DVC_DAEMON_LOGFILE
  from dvc.utils import fix_env, is_binary
  from dvc.utils.collections import ensure_list
label_desc: Use image node_id 3 for calling a global function with example usage: _get_dvc_args() and returns: args