From c13f81eb07322febfbdc9cb4e9e0bd019a330853 Mon Sep 17 00:00:00 2001 From: Yi Hu Date: Thu, 9 Apr 2026 13:30:03 -0400 Subject: [PATCH] Revert "Fix NameError when pydot is not installed in Beam Playground (#38074)" This reverts commit 46052504435e2334d1730be3e20e7ec5a68f98bc. --- .../runners/interactive/display/pipeline_graph.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py b/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py index 098f3eb48bb7..10058351938e 100644 --- a/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py +++ b/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py @@ -237,12 +237,6 @@ def _construct_graph( default_edge_attrs: (Dict[str, str]) a dict of attributes """ with self._lock: - try: - pydot.Dot() - except NameError: - raise RuntimeError( - 'pydot is required for pipeline graph generation. ' - 'Install it with: pip install pydot') self._graph = pydot.Dot() if default_vertex_attrs: