class_docstr: Placeholder docstring
docstr: Placeholder docstring
docstr_tok: ["Placeholder","docstring"]
code: def _prepare_output_config(
      s3_path, kms_key_id, assemble_with, accept
  ):
      """Placeholder docstring"""
      config = super(
          _TransformJob, _TransformJob
      )._prepare_output_config(s3_path, kms_key_id)
  
      if assemble_with is not None:
          config["AssembleWith"] = assemble_with
  
      if accept is not None:
          config["Accept"] = accept
  
      return config
  
imports: from __future__ import absolute_import
  from typing import Union, Optional, Dict
  import logging
  import copy
  import time
  from botocore import exceptions
  from sagemaker import s3
  from sagemaker.config import TRANSFORM_JOB_ENVIRONMENT_PATH, TRANSFORM_OUTPUT_KMS_KEY_ID_PATH, TRANSFORM_JOB_KMS_KEY_ID_PATH, TRANSFORM_RESOURCES_VOLUME_KMS_KEY_ID_PATH, PIPELINE_ROLE_ARN_PATH
  from sagemaker.job import _Job
  from sagemaker.session import Session, get_execution_role
  from sagemaker.inputs import BatchDataCaptureConfig
  from sagemaker.workflow.entities import PipelineVariable
  from sagemaker.workflow.functions import Join
  from sagemaker.workflow.pipeline_context import runnable_by_pipeline, PipelineSession
  from sagemaker.workflow import is_pipeline_variable
  from sagemaker.workflow.execution_variables import ExecutionVariables
  from sagemaker.utils import base_name_from_image, name_from_base, check_and_get_run_experiment_config, resolve_value_from_config, resolve_class_attribute_from_config, format_tags, Tags
label_desc: Use image node_id 7 for calling the _TransformJob obj's underlying member method code with example usage: obj._prepare_output_config(s3_path, kms_key_id, assemble_with, accept) and returns: config