Skip to content

Commit 8e8cd24

Browse files
committed
Update version to 1.0.5 in pyproject.toml and correct collection creation order in CouchbaseSaver to ensure proper functionality.
1 parent 8de1281 commit 8e8cd24

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

langgraph_checkpointer_couchbase/couchbase_saver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def create_collections(self):
114114

115115
collection_manager = self.bucket.collections()
116116
try:
117-
collection_manager.create_collection(self.checkpoints_collection_name, self.scope_name)
117+
collection_manager.create_collection(self.scope_name, self.checkpoints_collection_name)
118118
except CollectionAlreadyExistsException as _:
119119
pass
120120
except Exception as e:
@@ -124,7 +124,7 @@ def create_collections(self):
124124
self.checkpoints_collection = self.bucket.scope(self.scope_name).collection(self.checkpoints_collection_name)
125125

126126
try:
127-
collection_manager.create_collection(self.checkpoint_writes_collection_name, self.scope_name)
127+
collection_manager.create_collection(self.scope_name, self.checkpoint_writes_collection_name)
128128
except CollectionAlreadyExistsException as _:
129129
pass
130130
except Exception as e:

pyproject.toml

Lines changed: 1 addition & 1 deletion
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.4"
7+
version = "1.0.5"
88
description = ''
99
readme = "README.md"
1010
requires-python = ">=3.8"

0 commit comments

Comments
 (0)