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