langgraph-checkpoint 2.0.1__tar.gz → 2.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/PKG-INFO +1 -1
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/base/__init__.py +1 -1
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/serde/jsonplus.py +3 -1
- langgraph_checkpoint-2.0.2/langgraph/checkpoint/serde/py.typed +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/store/base/__init__.py +5 -1
- langgraph_checkpoint-2.0.2/langgraph/store/base/py.typed +0 -0
- langgraph_checkpoint-2.0.2/langgraph/store/memory/py.typed +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/pyproject.toml +1 -1
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/LICENSE +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/README.md +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/base/id.py +0 -0
- {langgraph_checkpoint-2.0.1/langgraph/checkpoint → langgraph_checkpoint-2.0.2/langgraph/checkpoint/base}/py.typed +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/memory/__init__.py +0 -0
- {langgraph_checkpoint-2.0.1/langgraph/store → langgraph_checkpoint-2.0.2/langgraph/checkpoint/memory}/py.typed +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/serde/__init__.py +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/serde/base.py +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/serde/types.py +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/store/base/batch.py +0 -0
- {langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/store/memory/__init__.py +0 -0
{langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/base/__init__.py
RENAMED
|
@@ -178,7 +178,7 @@ CheckpointNS = ConfigurableFieldSpec(
|
|
|
178
178
|
annotation=str,
|
|
179
179
|
name="Checkpoint NS",
|
|
180
180
|
description='Checkpoint namespace. Denotes the path to the subgraph node the checkpoint originates from, separated by `|` character, e.g. `"child|grandchild"`. Defaults to "" (root graph).',
|
|
181
|
-
default=
|
|
181
|
+
default="",
|
|
182
182
|
is_shared=True,
|
|
183
183
|
)
|
|
184
184
|
|
{langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/serde/jsonplus.py
RENAMED
|
@@ -206,7 +206,9 @@ class JsonPlusSerializer(SerializerProtocol):
|
|
|
206
206
|
elif type_ == "json":
|
|
207
207
|
return self.loads(data_)
|
|
208
208
|
elif type_ == "msgpack":
|
|
209
|
-
return msgpack.unpackb(
|
|
209
|
+
return msgpack.unpackb(
|
|
210
|
+
data_, ext_hook=_msgpack_ext_hook, strict_map_key=False
|
|
211
|
+
)
|
|
210
212
|
else:
|
|
211
213
|
raise NotImplementedError(f"Unknown serialization type: {type_}")
|
|
212
214
|
|
|
File without changes
|
|
@@ -182,7 +182,11 @@ def _validate_namespace(namespace: tuple[str, ...]) -> None:
|
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
class BaseStore(ABC):
|
|
185
|
-
"""Abstract base class for key-value stores.
|
|
185
|
+
"""Abstract base class for persistent key-value stores.
|
|
186
|
+
|
|
187
|
+
Stores enable persistence and memory that can be shared across threads,
|
|
188
|
+
scoped to user IDs, assistant IDs, or other arbitrary namespaces.
|
|
189
|
+
"""
|
|
186
190
|
|
|
187
191
|
__slots__ = ("__weakref__",)
|
|
188
192
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/memory/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/serde/__init__.py
RENAMED
|
File without changes
|
{langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/serde/base.py
RENAMED
|
File without changes
|
{langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/checkpoint/serde/types.py
RENAMED
|
File without changes
|
|
File without changes
|
{langgraph_checkpoint-2.0.1 → langgraph_checkpoint-2.0.2}/langgraph/store/memory/__init__.py
RENAMED
|
File without changes
|