From 60c41ce69e17fff2367eb816a667dd38cf7bb58e Mon Sep 17 00:00:00 2001 From: vbarda Date: Wed, 14 May 2025 21:14:49 -0400 Subject: [PATCH] update --- libs/langgraph/langgraph/pregel/draw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/langgraph/langgraph/pregel/draw.py b/libs/langgraph/langgraph/pregel/draw.py index edc689890..5b84c30c7 100644 --- a/libs/langgraph/langgraph/pregel/draw.py +++ b/libs/langgraph/langgraph/pregel/draw.py @@ -108,7 +108,7 @@ def draw_graph( for w in task.writers: # apply regular writes if isinstance(w, ChannelWrite): - empty_input = "" if "__root__" in specs else {} + empty_input = "" if "__root__" in specs else None w.invoke(empty_input, task.config) # apply conditional writes declared for static analysis, only once if w not in static_seen: