code: def wait_until_training_job_complete(self):
      print("Waiting for training job to complete...")
      self.sagemaker_client.get_waiter(
          "training_job_completed_or_stopped"
      ).wait(TrainingJobName=self.training_job_name)
  
file_path: sagemaker-python-sdk/tests/integ/sagemaker/jumpstart/retrieve_uri/training.py
imports: from __future__ import absolute_import
  import os
  import time
  import boto3
  from botocore.config import Config
  from sagemaker.jumpstart.constants import JUMPSTART_DEFAULT_REGION_NAME
  from tests.integ.sagemaker.jumpstart.utils import get_test_artifact_bucket, get_sm_session
  from tests.integ.sagemaker.jumpstart.retrieve_uri.utils import get_full_hyperparameters
  from sagemaker.jumpstart.utils import get_jumpstart_content_bucket
  from tests.integ.sagemaker.jumpstart.constants import ENV_VAR_JUMPSTART_SDK_TEST_SUITE_ID
label_desc: Use image node_id 4 for calling the TrainingJobLauncher obj's underlying member method code with example usage: obj.wait_until_training_job_complete() without return types