code: def experiment_obj(sagemaker_session):
      client = sagemaker_session.sagemaker_client
      description = "{}-{}".format("description", str(uuid.uuid4()))
      boto3.set_stream_logger("", logging.INFO)
      experiment_name = name()
      experiment_obj = experiment.Experiment.create(
          experiment_name=experiment_name,
          description=description,
          sagemaker_session=sagemaker_session,
          tags=TAGS,
      )
      yield experiment_obj
      time.sleep(0.5)
      experiment_obj.delete()
      with pytest.raises(client.exceptions.ResourceNotFound):
          client.describe_experiment(ExperimentName=experiment_name)
  
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 3 for calling a global function with example usage: experiment_obj(sagemaker_session) without return types