def METHOD_NAME(sagemaker_session):
    run = Run(
        experiment_name=unique_name_from_base(EXP_NAME_BASE_IN_LOCAL),
        run_name=RUN_NAME_IN_LOCAL,
        sagemaker_session=sagemaker_session,
    )
    try:
        yield run
        time.sleep(0.5)
    finally:
        exp = experiment.Experiment.load(
            experiment_name=run.experiment_name, sagemaker_session=sagemaker_session
        )
        exp._delete_all(action="--force")