Skip to content

Commit c777bb7

Browse files
committed
missed some other kuzu.connection default args.
1 parent 93522d7 commit c777bb7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

npcpy/memory/knowledge_graph.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def safe_kuzu_execute(conn, query, error_message="Kuzu query failed"):
2727
return None, error
2828

2929

30-
def create_group(conn: kuzu.Connection, name: str, metadata: str = ""):
30+
def create_group(conn, name: str, metadata: str = ""):
3131
"""Create a new group in the database with robust error handling"""
3232
if conn is None:
3333
print("Cannot create group: database connection is None")
@@ -1019,7 +1019,7 @@ def process_text_with_chroma(
10191019

10201020

10211021
def hybrid_search_with_chroma(
1022-
kuzu_conn: kuzu.Connection,
1022+
kuzu_conn,
10231023
chroma_collection,
10241024
query: str,
10251025
group_filter: Optional[List[str]] = None,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def package_files(directory):
8383

8484
setup(
8585
name="npcpy",
86-
version="1.0.2",
86+
version="1.0.3",
8787
packages=find_packages(exclude=["tests*"]),
8888
install_requires=base_requirements, # Only install base requirements by default
8989
extras_require={

0 commit comments

Comments
 (0)