langgraph-checkpoint-sqlite 2.0.4__tar.gz → 2.0.5__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_sqlite-2.0.4 → langgraph_checkpoint_sqlite-2.0.5}/PKG-INFO +2 -2
- {langgraph_checkpoint_sqlite-2.0.4 → langgraph_checkpoint_sqlite-2.0.5}/langgraph/checkpoint/sqlite/__init__.py +2 -9
- {langgraph_checkpoint_sqlite-2.0.4 → langgraph_checkpoint_sqlite-2.0.5}/langgraph/checkpoint/sqlite/aio.py +2 -9
- {langgraph_checkpoint_sqlite-2.0.4 → langgraph_checkpoint_sqlite-2.0.5}/pyproject.toml +2 -2
- {langgraph_checkpoint_sqlite-2.0.4 → langgraph_checkpoint_sqlite-2.0.5}/README.md +0 -0
- {langgraph_checkpoint_sqlite-2.0.4 → langgraph_checkpoint_sqlite-2.0.5}/langgraph/checkpoint/sqlite/py.typed +0 -0
- {langgraph_checkpoint_sqlite-2.0.4 → langgraph_checkpoint_sqlite-2.0.5}/langgraph/checkpoint/sqlite/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: langgraph-checkpoint-sqlite
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.5
|
|
4
4
|
Summary: Library with a SQLite implementation of LangGraph checkpoint saver.
|
|
5
5
|
Home-page: https://www.github.com/langchain-ai/langgraph
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
14
14
|
Requires-Dist: aiosqlite (>=0.20.0,<0.21.0)
|
|
15
|
-
Requires-Dist: langgraph-checkpoint (>=2.0.
|
|
15
|
+
Requires-Dist: langgraph-checkpoint (>=2.0.15,<3.0.0)
|
|
16
16
|
Project-URL: Repository, https://www.github.com/langchain-ai/langgraph
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
@@ -15,6 +15,7 @@ from langgraph.checkpoint.base import (
|
|
|
15
15
|
CheckpointTuple,
|
|
16
16
|
SerializerProtocol,
|
|
17
17
|
get_checkpoint_id,
|
|
18
|
+
get_checkpoint_metadata,
|
|
18
19
|
)
|
|
19
20
|
from langgraph.checkpoint.serde.jsonplus import JsonPlusSerializer
|
|
20
21
|
from langgraph.checkpoint.serde.types import ChannelProtocol
|
|
@@ -398,15 +399,7 @@ class SqliteSaver(BaseCheckpointSaver[str]):
|
|
|
398
399
|
checkpoint_ns = config["configurable"]["checkpoint_ns"]
|
|
399
400
|
type_, serialized_checkpoint = self.serde.dumps_typed(checkpoint)
|
|
400
401
|
serialized_metadata = self.jsonplus_serde.dumps(
|
|
401
|
-
|
|
402
|
-
**{
|
|
403
|
-
k: v
|
|
404
|
-
for k, v in config["configurable"].items()
|
|
405
|
-
if not k.startswith("__")
|
|
406
|
-
},
|
|
407
|
-
**config.get("metadata", {}),
|
|
408
|
-
**metadata,
|
|
409
|
-
}
|
|
402
|
+
get_checkpoint_metadata(config, metadata)
|
|
410
403
|
)
|
|
411
404
|
with self.cursor() as cur:
|
|
412
405
|
cur.execute(
|
|
@@ -16,6 +16,7 @@ from langgraph.checkpoint.base import (
|
|
|
16
16
|
CheckpointTuple,
|
|
17
17
|
SerializerProtocol,
|
|
18
18
|
get_checkpoint_id,
|
|
19
|
+
get_checkpoint_metadata,
|
|
19
20
|
)
|
|
20
21
|
from langgraph.checkpoint.serde.jsonplus import JsonPlusSerializer
|
|
21
22
|
from langgraph.checkpoint.serde.types import ChannelProtocol
|
|
@@ -464,15 +465,7 @@ class AsyncSqliteSaver(BaseCheckpointSaver[str]):
|
|
|
464
465
|
checkpoint_ns = config["configurable"]["checkpoint_ns"]
|
|
465
466
|
type_, serialized_checkpoint = self.serde.dumps_typed(checkpoint)
|
|
466
467
|
serialized_metadata = self.jsonplus_serde.dumps(
|
|
467
|
-
|
|
468
|
-
**{
|
|
469
|
-
k: v
|
|
470
|
-
for k, v in config["configurable"].items()
|
|
471
|
-
if not k.startswith("__")
|
|
472
|
-
},
|
|
473
|
-
**config.get("metadata", {}),
|
|
474
|
-
**metadata,
|
|
475
|
-
}
|
|
468
|
+
get_checkpoint_metadata(config, metadata)
|
|
476
469
|
)
|
|
477
470
|
async with (
|
|
478
471
|
self.lock,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "langgraph-checkpoint-sqlite"
|
|
3
|
-
version = "2.0.
|
|
3
|
+
version = "2.0.5"
|
|
4
4
|
description = "Library with a SQLite implementation of LangGraph checkpoint saver."
|
|
5
5
|
authors = []
|
|
6
6
|
license = "MIT"
|
|
@@ -10,7 +10,7 @@ packages = [{ include = "langgraph" }]
|
|
|
10
10
|
|
|
11
11
|
[tool.poetry.dependencies]
|
|
12
12
|
python = "^3.9.0"
|
|
13
|
-
langgraph-checkpoint = "^2.0.
|
|
13
|
+
langgraph-checkpoint = "^2.0.15"
|
|
14
14
|
aiosqlite = "^0.20.0"
|
|
15
15
|
|
|
16
16
|
[tool.poetry.group.dev.dependencies]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|