code: def test_auto_pass_in_exp_config_to_transform_job(
      mock_start_job, run_obj, sagemaker_session
  ):
      bucket_name = "my-bucket"
      job_name = "my-job"
      mock_start_job.return_value = _TransformJob(
          sagemaker_session, job_name
      )
      with run_obj:
          transformer = Transformer(
              model_name="my-model",
              instance_count=1,
              instance_type="ml.m5.large",
              output_path=f"s3://{bucket_name}/output",
              sagemaker_session=sagemaker_session,
          )
          transformer.transform(
              data=f"s3://{bucket_name}/data",
              wait=False,
              logs=False,
              job_name=job_name,
          )
  
          assert _RunContext.get_current_run() == run_obj
  
      expected_exp_config = run_obj.experiment_config
      assert mock_start_job.call_args[0][9] == expected_exp_config
  
      # _RunContext is cleaned up after exiting the with statement
      assert not _RunContext.get_current_run()
  
imports: from __future__ import absolute_import
  from unittest.mock import patch, MagicMock
  import pytest
  from sagemaker import Processor
  from sagemaker.estimator import Estimator, _TrainingJob
  from sagemaker.experiments.experiment import Experiment
  from sagemaker.experiments.run import _RunContext
  from sagemaker.experiments import load_run, Run
  from sagemaker.experiments.trial import _Trial
  from sagemaker.experiments.trial_component import _TrialComponent
  from sagemaker.processing import ProcessingJob
  from sagemaker.transformer import _TransformJob, Transformer
  from tests.unit.sagemaker.experiments.helpers import TEST_EXP_NAME, mock_trial_load_or_create_func, mock_tc_load_or_create_func
label_desc: Use image node_id 4 for calling a global function with example usage: test_auto_pass_in_exp_config_to_transform_job(mock_start_job, run_obj, sagemaker_session) without return types