langgraph-checkpoint-sqlite 1.0.4__tar.gz → 2.0.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langgraph-checkpoint-sqlite
3
- Version: 1.0.4
3
+ Version: 2.0.1
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 (>=1.0.11,<2.0.0)
15
+ Requires-Dist: langgraph-checkpoint (>=2.0.2,<3.0.0)
16
16
  Project-URL: Repository, https://www.github.com/langchain-ai/langgraph
17
17
  Description-Content-Type: text/markdown
18
18
 
@@ -39,7 +39,7 @@ class SqliteSaver(BaseCheckpointSaver[str]):
39
39
  (demos and small projects) and does not
40
40
  scale to multiple threads.
41
41
  For a similar sqlite saver with `async` support,
42
- consider using [AsyncSqliteSaver][asyncsqlitesaver].
42
+ consider using [AsyncSqliteSaver][langgraph.checkpoint.sqlite.aio.AsyncSqliteSaver].
43
43
 
44
44
  Args:
45
45
  conn (sqlite3.Connection): The SQLite database connection.
@@ -389,7 +389,7 @@ class SqliteSaver(BaseCheckpointSaver[str]):
389
389
  >>> from langgraph.checkpoint.sqlite import SqliteSaver
390
390
  >>> with SqliteSaver.from_conn_string(":memory:") as memory:
391
391
  >>> config = {"configurable": {"thread_id": "1", "checkpoint_ns": ""}}
392
- >>> checkpoint = {"ts": "2024-05-04T06:32:42.235444+00:00", "id": "1ef4f797-8335-6428-8001-8a1503f9b875", "data": {"key": "value"}}
392
+ >>> checkpoint = {"ts": "2024-05-04T06:32:42.235444+00:00", "id": "1ef4f797-8335-6428-8001-8a1503f9b875", "channel_values": {"key": "value"}}
393
393
  >>> saved_config = memory.put(config, checkpoint, {"source": "input", "step": 1, "writes": {"key": "value"}}, {})
394
394
  >>> print(saved_config)
395
395
  {'configurable': {'thread_id': '1', 'checkpoint_ns': '', 'checkpoint_id': '1ef4f797-8335-6428-8001-8a1503f9b875'}}
@@ -461,7 +461,7 @@ class SqliteSaver(BaseCheckpointSaver[str]):
461
461
 
462
462
  Note:
463
463
  This async method is not supported by the SqliteSaver class.
464
- Use get_tuple() instead, or consider using [AsyncSqliteSaver][asyncsqlitesaver].
464
+ Use get_tuple() instead, or consider using [AsyncSqliteSaver][langgraph.checkpoint.sqlite.aio.AsyncSqliteSaver].
465
465
  """
466
466
  raise NotImplementedError(_AIO_ERROR_MSG)
467
467
 
@@ -477,7 +477,7 @@ class SqliteSaver(BaseCheckpointSaver[str]):
477
477
 
478
478
  Note:
479
479
  This async method is not supported by the SqliteSaver class.
480
- Use list() instead, or consider using [AsyncSqliteSaver][asyncsqlitesaver].
480
+ Use list() instead, or consider using [AsyncSqliteSaver][langgraph.checkpoint.sqlite.aio.AsyncSqliteSaver].
481
481
  """
482
482
  raise NotImplementedError(_AIO_ERROR_MSG)
483
483
  yield
@@ -493,7 +493,7 @@ class SqliteSaver(BaseCheckpointSaver[str]):
493
493
 
494
494
  Note:
495
495
  This async method is not supported by the SqliteSaver class.
496
- Use put() instead, or consider using [AsyncSqliteSaver][asyncsqlitesaver].
496
+ Use put() instead, or consider using [AsyncSqliteSaver][langgraph.checkpoint.sqlite.aio.AsyncSqliteSaver].
497
497
  """
498
498
  raise NotImplementedError(_AIO_ERROR_MSG)
499
499
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "langgraph-checkpoint-sqlite"
3
- version = "1.0.4"
3
+ version = "2.0.1"
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 = "^1.0.11"
13
+ langgraph-checkpoint = "^2.0.2"
14
14
  aiosqlite = "^0.20.0"
15
15
 
16
16
  [tool.poetry.group.dev.dependencies]