File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
sdks/python/apache_beam/runners/interactive Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 4141from apache_beam .runners .interactive import pipeline_fragment as pf
4242from apache_beam .runners .interactive import utils
4343from apache_beam .runners .interactive .caching .cacheable import CacheKey
44- from apache_beam .runners .interactive .display .pipeline_graph import PipelineGraph
4544from apache_beam .runners .interactive .options import capture_control
4645from apache_beam .runners .runner import PipelineState
4746
@@ -713,6 +712,10 @@ def _get_pipeline_graph(self):
713712 """Lazily initializes and returns the PipelineGraph."""
714713 if self ._pipeline_graph is None :
715714 try :
715+ # Allow initial module loading to be complete and not have a circular
716+ # import.
717+ from apache_beam .runners .interactive .display .pipeline_graph import PipelineGraph
718+
716719 # Try to create the graph.
717720 self ._pipeline_graph = PipelineGraph (self .user_pipeline )
718721 except (ImportError , NameError , AttributeError ):
You can’t perform that action at this time.
0 commit comments