code: def local_transform_job(sagemaker_local_session):
      with patch(
          "sagemaker.local.local_session.LocalSagemakerClient.describe_model"
      ) as describe_model:
          describe_model.return_value = {
              "PrimaryContainer": {
                  "Environment": {},
                  "Image": "some-image:1.0",
              }
          }
          job = sagemaker.local.entities._LocalTransformJob(
              "my-transform-job", "some-model", sagemaker_local_session
          )
          return job
  
imports: from __future__ import absolute_import
  import os
  import pytest
  from mock import patch, Mock
  from botocore.exceptions import ClientError
  import sagemaker.local
  from sagemaker.workflow.parameters import ParameterString
  from sagemaker.workflow.pipeline import Pipeline
  from sagemaker.workflow.lambda_step import LambdaStep
  from tests.unit.sagemaker.workflow.helpers import CustomStep
label_desc: Use image node_id 1 for calling a global function with example usage: local_transform_job(sagemaker_local_session) and returns: job