code: def _bootstrap_runtime_env_for_pipeline_step(
      client_python_version: str,
      func_step_workspace: str,
      conda_env: str = None,
      dependency_settings: _DependencySettings = None,
  ):
      """Bootstrap runtime environment for pipeline step invocation.
  
      Args:
          client_python_version (str): Python version at the client side.
          func_step_workspace (str): s3 folder where workspace for FunctionStep is stored
          conda_env (str): conda environment to be activated. Default is None.
          dependency_settings (dict): Name of the dependency file. Default is None.
      """
  
      workspace_dir = _unpack_user_workspace(func_step_workspace)
      if not workspace_dir:
          os.mkdir(JOB_REMOTE_FUNCTION_WORKSPACE)
          workspace_dir = pathlib.Path(
              os.getcwd(), JOB_REMOTE_FUNCTION_WORKSPACE
          ).absolute()
  
      pre_exec_script_and_dependencies_dir = os.path.join(
          BASE_CHANNEL_PATH, SCRIPT_AND_DEPENDENCIES_CHANNEL_NAME
      )
  
      if not os.path.exists(pre_exec_script_and_dependencies_dir):
          logger.info("No dependencies to bootstrap")
          return
      for file in os.listdir(pre_exec_script_and_dependencies_dir):
          src_path = os.path.join(
              pre_exec_script_and_dependencies_dir, file
          )
          dest_path = os.path.join(workspace_dir, file)
          shutil.copy(src_path, dest_path)
  
      _handle_pre_exec_scripts(workspace_dir)
  
      _install_dependencies(
          workspace_dir,
          conda_env,
          client_python_version,
          SCRIPT_AND_DEPENDENCIES_CHANNEL_NAME,
          dependency_settings,
      )
  
file_path: sagemaker-python-sdk/src/sagemaker/remote_function/runtime_environment/bootstrap_runtime_environment.py
imports: from __future__ import absolute_import
  import argparse
  import getpass
  import sys
  import os
  import shutil
  import pathlib
label_desc: Use image node_id 3 for calling a global function with example usage: _bootstrap_runtime_env_for_pipeline_step(client_python_version, func_step_workspace, conda_env, dependency_settings) without return types