Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,12 @@ 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:
Expand Down
Loading