File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ def graph(self) -> nx.DiGraph:
60
60
"""DAG graph."""
61
61
return self ._graph
62
62
63
- def node_to_operation (
63
+ def _node_to_operation (
64
64
self , node : str , restart : bool = False , stop : bool = False
65
65
) -> Operation :
66
66
# ? Restart operations are now stored in collections.operations they can be
@@ -152,7 +152,7 @@ def topological_sort(
152
152
"""
153
153
return list (
154
154
map (
155
- lambda node : self .node_to_operation (node , restart = restart , stop = stop ),
155
+ lambda node : self ._node_to_operation (node , restart = restart , stop = stop ),
156
156
self .topological_sort_key (nodes ),
157
157
)
158
158
)
@@ -234,7 +234,7 @@ def get_operation_descendants(
234
234
nodes_filtered = filter (lambda node : node not in nodes , nodes_set )
235
235
return list (
236
236
map (
237
- lambda node : self .node_to_operation (node , restart = restart , stop = stop ),
237
+ lambda node : self ._node_to_operation (node , restart = restart , stop = stop ),
238
238
nodes_filtered ,
239
239
)
240
240
)
You can’t perform that action at this time.
0 commit comments