From d28734f2875e7aee34f777fc16811c0ab9eddbc9 Mon Sep 17 00:00:00 2001 From: Nuno Campos Date: Mon, 4 Nov 2024 15:12:34 -0800 Subject: [PATCH] Lint --- libs/langgraph/langgraph/pregel/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/langgraph/langgraph/pregel/__init__.py b/libs/langgraph/langgraph/pregel/__init__.py index d146a9529..9aa3bc915 100644 --- a/libs/langgraph/langgraph/pregel/__init__.py +++ b/libs/langgraph/langgraph/pregel/__init__.py @@ -511,7 +511,7 @@ class Pregel(PregelProtocol): # apply pending writes if apply_pending_writes and saved.pending_writes: for tid, *t in saved.pending_writes: - next_tasks[tid].writes.append(t) + next_tasks[tid].writes.append(t) # type: ignore[arg-type] if tasks := [t for t in next_tasks.values() if t.writes]: apply_writes(saved.checkpoint, channels, tasks, None) # assemble the state snapshot @@ -609,7 +609,7 @@ class Pregel(PregelProtocol): # apply pending writes if apply_pending_writes and saved.pending_writes: for tid, *t in saved.pending_writes: - next_tasks[tid].writes.append(t) + next_tasks[tid].writes.append(t) # type: ignore[arg-type] if tasks := [t for t in next_tasks.values() if t.writes]: apply_writes(saved.checkpoint, channels, tasks, None) # assemble the state snapshot