diff --git a/libs/checkpoint/langgraph/checkpoint/memory/__init__.py b/libs/checkpoint/langgraph/checkpoint/memory/__init__.py index 132b05c15..5d73f4ba5 100644 --- a/libs/checkpoint/langgraph/checkpoint/memory/__init__.py +++ b/libs/checkpoint/langgraph/checkpoint/memory/__init__.py @@ -210,7 +210,9 @@ class MemorySaver( elif limit is not None: limit -= 1 - writes = self.writes[(thread_id, checkpoint_ns, checkpoint_id)].values() + writes = self.writes[ + (thread_id, checkpoint_ns, checkpoint_id) + ].values() yield CheckpointTuple( config={