This is an automated email from the ASF dual-hosted git repository.

vterentev pushed a commit to branch fix-playground-pydot
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/fix-playground-pydot by this 
push:
     new 8d9afafb5f6 Fix import
8d9afafb5f6 is described below

commit 8d9afafb5f6c59d8e768fc8d51ca0e9150c17c0e
Author: Vitaly Terentyev <[email protected]>
AuthorDate: Wed Jan 28 15:55:24 2026 +0400

    Fix import
---
 .../apache_beam/runners/interactive/display/pipeline_graph.py       | 6 +-----
 1 file changed, 1 insertion(+), 5 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 10058351938..194652e06e6 100644
--- a/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py
+++ b/sdks/python/apache_beam/runners/interactive/display/pipeline_graph.py
@@ -24,6 +24,7 @@ This module is experimental. No backwards-compatibility 
guarantees.
 
 import collections
 import logging
+import pydot
 import threading
 from typing import DefaultDict
 from typing import Dict
@@ -38,11 +39,6 @@ from apache_beam.runners.interactive import 
interactive_environment as ie
 from apache_beam.runners.interactive import pipeline_instrument as inst
 from apache_beam.runners.interactive.display import pipeline_graph_renderer
 
-try:
-  import pydot
-except ImportError:
-  pass
-
 # pylint does not understand context
 # pylint:disable=dangerous-default-value
 

Reply via email to