langgraph-checkpointer-couchbase 1.0.2__tar.gz → 1.0.3__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_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/PKG-INFO +4 -4
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/langgraph_checkpointer_couchbase/async_cb_saver.py +1 -3
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/pyproject.toml +4 -4
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/.env.example +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/.github/workflows/release.yaml +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/.gitignore +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/LICENSE +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/README.md +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/langgraph_checkpointer_couchbase/__init__.py +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/langgraph_checkpointer_couchbase/couchbase_saver.py +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/langgraph_checkpointer_couchbase/utils.py +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/tests/__init__.py +0 -0
- {langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/tests/agent_e2e_test.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langgraph-checkpointer-couchbase
|
|
3
|
-
Version: 1.0.
|
|
4
|
-
Project-URL: Documentation, https://github.com/
|
|
5
|
-
Project-URL: Issues, https://github.com/
|
|
6
|
-
Project-URL: Source, https://github.com/
|
|
3
|
+
Version: 1.0.3
|
|
4
|
+
Project-URL: Documentation, https://github.com/couchbase-ecosystem/langgraph-checkpointer-couchbase#readme
|
|
5
|
+
Project-URL: Issues, https://github.com/couchbase-ecosystem/langgraph-checkpointer-couchbase/issues
|
|
6
|
+
Project-URL: Source, https://github.com/couchbase-ecosystem/langgraph-checkpointer-couchbase
|
|
7
7
|
Author-email: Lokesh Goel <lokesh.goel@couchbase.com>
|
|
8
8
|
License-Expression: MIT
|
|
9
9
|
License-File: LICENSE
|
|
@@ -129,7 +129,6 @@ class AsyncCouchbaseSaver(BaseCheckpointSaver):
|
|
|
129
129
|
query = f'SELECT * FROM {self.bucket_name}.{self.scope_name}.`{self.checkpoints_collection_name}` WHERE thread_id = $1 AND checkpoint_ns = $2 ORDER BY checkpoint_id DESC LIMIT 1'
|
|
130
130
|
query_params = [thread_id, checkpoint_ns]
|
|
131
131
|
|
|
132
|
-
print(query)
|
|
133
132
|
result = self.cluster.query(query, QueryOptions(positional_parameters=query_params))
|
|
134
133
|
|
|
135
134
|
async for row in result:
|
|
@@ -148,7 +147,6 @@ class AsyncCouchbaseSaver(BaseCheckpointSaver):
|
|
|
148
147
|
|
|
149
148
|
pending_writes = []
|
|
150
149
|
async for write_doc in serialized_writes_result:
|
|
151
|
-
print(f"write_doc: {write_doc}") # Debugging statement to log the contents of write_doc
|
|
152
150
|
checkpoint_writes = write_doc.get(self.checkpoint_writes_collection_name, {})
|
|
153
151
|
if "task_id" not in checkpoint_writes:
|
|
154
152
|
print("Error: 'task_id' is not present in checkpoint_writes")
|
|
@@ -293,7 +291,7 @@ class AsyncCouchbaseSaver(BaseCheckpointSaver):
|
|
|
293
291
|
"checkpoint_ns": checkpoint_ns,
|
|
294
292
|
"checkpoint_id": checkpoint_id,
|
|
295
293
|
}
|
|
296
|
-
|
|
294
|
+
|
|
297
295
|
upsert_key = f"{thread_id}::{checkpoint_ns}::{checkpoint_id}"
|
|
298
296
|
|
|
299
297
|
collection = self.bucket.scope(self.scope_name).collection(self.checkpoints_collection_name)
|
{langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/pyproject.toml
RENAMED
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "langgraph-checkpointer-couchbase"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.3"
|
|
8
8
|
description = ''
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.8"
|
|
@@ -33,9 +33,9 @@ dependencies = [
|
|
|
33
33
|
]
|
|
34
34
|
|
|
35
35
|
[project.urls]
|
|
36
|
-
Documentation = "https://github.com/
|
|
37
|
-
Issues = "https://github.com/
|
|
38
|
-
Source = "https://github.com/
|
|
36
|
+
Documentation = "https://github.com/couchbase-ecosystem/langgraph-checkpointer-couchbase#readme"
|
|
37
|
+
Issues = "https://github.com/couchbase-ecosystem/langgraph-checkpointer-couchbase/issues"
|
|
38
|
+
Source = "https://github.com/couchbase-ecosystem/langgraph-checkpointer-couchbase"
|
|
39
39
|
|
|
40
40
|
[tool.hatch.version]
|
|
41
41
|
path = "src/langgraph_checkpointer_couchbase/__about__.py"
|
{langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/.env.example
RENAMED
|
File without changes
|
|
File without changes
|
{langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/.gitignore
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langgraph_checkpointer_couchbase-1.0.2 → langgraph_checkpointer_couchbase-1.0.3}/tests/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|