class_docstr: Helper methods for Beam Handler.
class_docstr_tok: ["Helper","methods","for","Beam","Handler","."]
docstr: Compiles pipeline in Beam.
docstr_tok: ["Compiles","pipeline","in","Beam","."]
code: def compile_pipeline(self) -> None:
      """Compiles pipeline in Beam."""
      patcher = self._get_dag_runner_patcher()
      self.execute_dsl(patcher)
      click.echo("Pipeline compiled successfully.")
  
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 6 for calling the BeamHandler obj's underlying member method code with example usage: obj.compile_pipeline() without return types