From 0628c6402f135aa3525d77b48d1c774d986d59a6 Mon Sep 17 00:00:00 2001 From: Tat Dat Duong Date: Wed, 9 Oct 2024 01:00:36 +0200 Subject: [PATCH] Fix typo --- libs/langgraph/langgraph/pregel/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/pregel/utils.py b/libs/langgraph/langgraph/pregel/utils.py index bb98cf63b..2b09f8f75 100644 --- a/libs/langgraph/langgraph/pregel/utils.py +++ b/libs/langgraph/langgraph/pregel/utils.py @@ -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):