This commit is contained in:
Tat Dat Duong
2024-10-09 01:00:36 +02:00
parent db61d294a6
commit 0628c6402f
+1 -1
View File
@@ -34,7 +34,7 @@ def find_subgraph_pregel(candidate: Runnable) -> Optional[Runnable]:
if (
isinstance(c, Pregel)
# subgraphs that disabled checkpointing are not considered
and candidate.checkpointer is not False
and c.checkpointer is not False
):
return c
elif isinstance(c, RunnableSequence) or isinstance(c, RunnableSeq):