From df70e91daecac6b7d2b187b7c67a5c725e7dbe11 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Wed, 4 Dec 2024 15:13:55 -0800 Subject: [PATCH] Lint --- libs/langgraph/langgraph/pregel/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/pregel/io.py b/libs/langgraph/langgraph/pregel/io.py index c1fed349a..b2596d3ad 100644 --- a/libs/langgraph/langgraph/pregel/io.py +++ b/libs/langgraph/langgraph/pregel/io.py @@ -73,7 +73,7 @@ def map_command( if cmd.graph == Command.PARENT: raise InvalidUpdateError("There is not parent graph") if cmd.goto: - if isinstance(cmd.send, (tuple, list)): + if isinstance(cmd.goto, (tuple, list)): sends = cmd.goto else: sends = [cmd.goto]