class_docstr: Placeholder docstring
code: def wait(self, logs=True):
      if logs:
          self.sagemaker_session.logs_for_transform_job(
              self.job_name, wait=True
          )
      else:
          self.sagemaker_session.wait_for_transform_job(self.job_name)
  
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 3 for calling the _TransformJob obj's underlying member method code with example usage: obj.wait(logs) without return types