mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-06 01:37:49 +02:00
Fix typo
This commit is contained in:
@@ -1485,7 +1485,7 @@ class Pregel(PregelProtocol):
|
||||
),
|
||||
)
|
||||
|
||||
for _, task in tasks:
|
||||
for task_id, task in tasks:
|
||||
if push_writes := [w for w in task.writes if w[0] == PUSH]:
|
||||
checkpointer.put_writes(next_config, push_writes, task_id)
|
||||
|
||||
@@ -1818,7 +1818,7 @@ class Pregel(PregelProtocol):
|
||||
),
|
||||
)
|
||||
|
||||
for _, task in tasks:
|
||||
for task_id, task in tasks:
|
||||
# save push writes
|
||||
if push_writes := [w for w in task.writes if w[0] == PUSH]:
|
||||
await checkpointer.aput_writes(next_config, push_writes, task_id)
|
||||
|
||||
Reference in New Issue
Block a user