Refactor set_cache_coro method call in RunnableVerticesManager
This commit is contained in:
parent
54fb1ba0bb
commit
ac17ab7ac6
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ class RunnableVerticesManager:
|
||||||
for v_id in set(next_runnable_vertices): # Use set to avoid duplicates
|
for v_id in set(next_runnable_vertices): # Use set to avoid duplicates
|
||||||
self.update_vertex_run_state(v_id, is_runnable=False)
|
self.update_vertex_run_state(v_id, is_runnable=False)
|
||||||
self.remove_from_predecessors(v_id)
|
self.remove_from_predecessors(v_id)
|
||||||
await set_cache_coro(graph, lock)
|
await set_cache_coro(data=graph, lock=lock)
|
||||||
return next_runnable_vertices
|
return next_runnable_vertices
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue