code: def test_prepare_init_params_from_job_description_all_keys(
      transformer,
  ):
      job_details = {
          "ModelName": MODEL_NAME,
          "TransformResources": {
              "InstanceCount": INSTANCE_COUNT,
              "InstanceType": INSTANCE_TYPE,
              "VolumeKmsKeyId": KMS_KEY_ID,
          },
          "BatchStrategy": None,
          "TransformOutput": {
              "AssembleWith": None,
              "S3OutputPath": None,
              "KmsKeyId": None,
              "Accept": None,
          },
          "MaxConcurrentTransforms": None,
          "MaxPayloadInMB": None,
          "TransformJobName": JOB_NAME,
      }
  
      init_params = (
          transformer._prepare_init_params_from_job_description(
              job_details
          )
      )
  
      assert init_params["model_name"] == MODEL_NAME
      assert init_params["instance_count"] == INSTANCE_COUNT
      assert init_params["instance_type"] == INSTANCE_TYPE
      assert init_params["volume_kms_key"] == KMS_KEY_ID
  
imports: from __future__ import absolute_import
  import pytest
  from mock import MagicMock, Mock, patch, PropertyMock
  from sagemaker.session_settings import SessionSettings
  from sagemaker.transformer import _TransformJob, Transformer
  from sagemaker.workflow.pipeline_context import PipelineSession, _PipelineConfig
  from sagemaker.inputs import BatchDataCaptureConfig
  from sagemaker.workflow.pipeline_definition_config import PipelineDefinitionConfig
  from tests.integ import test_local_mode
  from tests.unit import SAGEMAKER_CONFIG_TRANSFORM_JOB
label_desc: Use image node_id 25 for calling a global function with example usage: test_prepare_init_params_from_job_description_all_keys(transformer) without return types