diff --git a/libs/checkpoint/langgraph/checkpoint/memory/__init__.py b/libs/checkpoint/langgraph/checkpoint/memory/__init__.py index d2202693f..7aea0c6b8 100644 --- a/libs/checkpoint/langgraph/checkpoint/memory/__init__.py +++ b/libs/checkpoint/langgraph/checkpoint/memory/__init__.py @@ -19,6 +19,7 @@ from langgraph.checkpoint.base import ( CheckpointMetadata, CheckpointTuple, SerializerProtocol, + V, get_checkpoint_id, get_checkpoint_metadata, ) @@ -71,9 +72,7 @@ class InMemorySaver( dict[tuple[str, int], tuple[str, str, tuple[str, bytes], str]], ] blobs: dict[ - tuple[ - str, str, str, str | int | float - ], # thread id, checkpoint ns, channel, version + tuple[str, str, str, V], # thread id, checkpoint ns, channel, version tuple[str, bytes], ]