mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-08 10:47:52 +02:00
Initialise to None
This commit is contained in:
@@ -250,13 +250,7 @@ class PregelLoop:
|
||||
if self.config[CONF].get(CONFIG_KEY_CHECKPOINT_NS)
|
||||
else ()
|
||||
)
|
||||
self.prev_checkpoint_config = (
|
||||
self.checkpoint_config
|
||||
if self.checkpoint_config
|
||||
and CONF in self.checkpoint_config
|
||||
and CONFIG_KEY_CHECKPOINT_ID in self.checkpoint_config[CONF]
|
||||
else None
|
||||
)
|
||||
self.prev_checkpoint_config = None
|
||||
|
||||
def put_writes(self, task_id: str, writes: Sequence[tuple[str, Any]]) -> None:
|
||||
"""Put writes for a task, to be read by the next tick."""
|
||||
|
||||
Reference in New Issue
Block a user