code: def trials(experiment_obj, sagemaker_session):
      trial_objs = []
      for trial_name in names():
          next_trial = trial._Trial.create(
              trial_name=trial_name,
              experiment_name=experiment_obj.experiment_name,
              sagemaker_session=sagemaker_session,
          )
          trial_objs.append(next_trial)
          time.sleep(0.5)
      yield trial_objs
      for trial_obj in trial_objs:
          trial_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 5 for calling a global function with example usage: trials(experiment_obj, sagemaker_session) without return types