fix: add vertices in the first layer to the vertices being run (#2594)
This commit is contained in:
parent
21adbd5531
commit
c20630b77d
1 changed files with 3 additions and 0 deletions
|
|
@ -106,6 +106,9 @@ async def retrieve_vertices_order(
|
||||||
else:
|
else:
|
||||||
first_layer = graph.sort_vertices()
|
first_layer = graph.sort_vertices()
|
||||||
|
|
||||||
|
for vertex_id in first_layer:
|
||||||
|
graph.run_manager.add_to_vertices_being_run(vertex_id)
|
||||||
|
|
||||||
# Now vertices is a list of lists
|
# Now vertices is a list of lists
|
||||||
# We need to get the id of each vertex
|
# We need to get the id of each vertex
|
||||||
# and return the same structure but only with the ids
|
# and return the same structure but only with the ids
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue