class_docstr: Helper methods for Beam Handler.
class_docstr_tok: ["Helper","methods","for","Beam","Handler","."]
docstr: Deletes pipeline in Beam.
docstr_tok: ["Deletes","pipeline","in","Beam","."]
code: def delete_pipeline(self) -> None:
      """Deletes pipeline in Beam."""
      pipeline_name = self.flags_dict[labels.PIPELINE_NAME]
      handler_pipeline_path = self._get_pipeline_info_path(
          pipeline_name
      )
  
      # Check if pipeline exists.
      self._check_pipeline_existence(pipeline_name)
  
      # Delete pipeline folder.
      io_utils.delete_dir(handler_pipeline_path)
      click.echo(
          'Pipeline "{}" deleted successfully.'.format(pipeline_name)
      )
  
imports: import json
  import sys
  from typing import Any, Dict
  import click
  from tfx.dsl.io import fileio
  from tfx.tools.cli import labels
  from tfx.tools.cli.handler import base_handler
  from tfx.tools.cli.handler import beam_dag_runner_patcher
  from tfx.tools.cli.handler import dag_runner_patcher
  from tfx.utils import io_utils
label_desc: Use image node_id 5 for calling the BeamHandler obj's underlying member method code with example usage: obj.delete_pipeline() without return types