code: def delete_experiment(exp_name: str) -> None:
      """Delete experiment by name.
  
      Args:
          experiment_name: Name of the experiment to delete.
      """
      with session_scope() as session:
          exp = (
              session.query(SQAExperiment)
              .filter_by(name=exp_name)
              .one_or_none()
          )
          session.delete(exp)
          session.flush()
  
      logger.info(
          f"You are deleting {exp_name} and all its associated data from the database."
      )
  
file_path: Ax/ax/storage/sqa_store/delete.py
imports: from logging import Logger
  from typing import Optional
  from ax.core.experiment import Experiment
  from ax.modelbridge.generation_strategy import GenerationStrategy
  from ax.storage.sqa_store.db import session_scope
  from ax.storage.sqa_store.decoder import Decoder
  from ax.storage.sqa_store.sqa_classes import SQAExperiment
  from ax.storage.sqa_store.sqa_config import SQAConfig
  from ax.utils.common.logger import get_logger
label_desc: Use image node_id 1 for calling a global function with example usage: delete_experiment(exp_name) without return types