Skip to content

Commit beb21cb

Browse files
authored
Bug: Do not require numpy (#885)
1 parent 3ea87a0 commit beb21cb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/executorlib/task_scheduler/interactive/dependency_plot.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
from typing import Optional
66

77
import cloudpickle
8-
import numpy as np
98

109
from executorlib.standalone.select import FutureSelector
1110

@@ -245,6 +244,8 @@ def export_dependency_graph_function(
245244
edge_lst (list): List of edges.
246245
file_name (str): Name of the file to store the exported graph in.
247246
"""
247+
import numpy as np
248+
248249
pwd_nodes_lst = []
249250
for n in node_lst:
250251
if n["type"] == "function":

0 commit comments

Comments
 (0)