code: def trial_components(sagemaker_session):
      trial_component_objs = [
          trial_component._TrialComponent.create(
              trial_component_name=trial_component_name,
              sagemaker_session=sagemaker_session,
          )
          for trial_component_name in names()
      ]
      yield trial_component_objs
      for trial_component_obj in trial_component_objs:
          trial_component_obj.delete()
  
imports: from __future__ import absolute_import
  import glob
  import logging
  import os
  import shutil
  import tempfile
  import time
  import uuid
  import boto3
  import pytest
  from sagemaker.experiments import Run
  from tests.integ import DATA_DIR
  from sagemaker.experiments import trial_component, trial, experiment
  from sagemaker.utils import retry_with_backoff, unique_name_from_base
  from tests.integ.sagemaker.experiments.helpers import name, names
label_desc: Use image node_id 7 for calling a global function with example usage: trial_components(sagemaker_session) without return types