mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-30 11:49:38 +02:00
Lint
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user