Skip to content

Commit 7583148

Browse files
committed
Update project URLs in pyproject.toml to reflect new repository location and remove debugging print statements from AsyncCouchbaseSaver.
1 parent e1875e8 commit 7583148

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

langgraph_checkpointer_couchbase/async_cb_saver.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ async def aget_tuple(self, config: RunnableConfig) -> Optional[CheckpointTuple]:
129129
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'
130130
query_params = [thread_id, checkpoint_ns]
131131

132-
print(query)
133132
result = self.cluster.query(query, QueryOptions(positional_parameters=query_params))
134133

135134
async for row in result:
@@ -148,7 +147,6 @@ async def aget_tuple(self, config: RunnableConfig) -> Optional[CheckpointTuple]:
148147

149148
pending_writes = []
150149
async for write_doc in serialized_writes_result:
151-
print(f"write_doc: {write_doc}") # Debugging statement to log the contents of write_doc
152150
checkpoint_writes = write_doc.get(self.checkpoint_writes_collection_name, {})
153151
if "task_id" not in checkpoint_writes:
154152
print("Error: 'task_id' is not present in checkpoint_writes")
@@ -293,7 +291,7 @@ async def aput(
293291
"checkpoint_ns": checkpoint_ns,
294292
"checkpoint_id": checkpoint_id,
295293
}
296-
# print(json.dumps(doc))
294+
297295
upsert_key = f"{thread_id}::{checkpoint_ns}::{checkpoint_id}"
298296

299297
collection = self.bucket.scope(self.scope_name).collection(self.checkpoints_collection_name)

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "langgraph-checkpointer-couchbase"
7-
version = "1.0.2"
7+
version = "1.0.3"
88
description = ''
99
readme = "README.md"
1010
requires-python = ">=3.8"
@@ -33,9 +33,9 @@ dependencies = [
3333
]
3434

3535
[project.urls]
36-
Documentation = "https://github.com/Lokesh Goel/langgraph-checkpointer-couchbase#readme"
37-
Issues = "https://github.com/Lokesh Goel/langgraph-checkpointer-couchbase/issues"
38-
Source = "https://github.com/Lokesh Goel/langgraph-checkpointer-couchbase"
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"
3939

4040
[tool.hatch.version]
4141
path = "src/langgraph_checkpointer_couchbase/__about__.py"

0 commit comments

Comments
 (0)