This commit is contained in:
vbarda
2024-08-26 19:29:05 -04:00
parent 85e698e20b
commit 507930e5b7
@@ -177,7 +177,9 @@ class MemorySaver(
Iterator[CheckpointTuple]: An iterator of matching checkpoint tuples.
"""
thread_ids = (config["configurable"]["thread_id"],) if config else self.storage
config_checkpoint_ns = config["configurable"].get("checkpoint_ns") if config else None
config_checkpoint_ns = (
config["configurable"].get("checkpoint_ns") if config else None
)
config_checkpoint_id = get_checkpoint_id(config) if config else None
for thread_id in thread_ids:
for checkpoint_ns in self.storage[thread_id].keys():