Skip to content

Commit b0bd678

Browse files
langchain-db2: Hot-fix creating conn_str (#91)
* hotfix creating conn_str * patch 0.1.5 * make format
1 parent 18dd283 commit b0bd678

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

libs/langchain-db2/langchain_db2/db2vs.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,10 @@ def __init__(
208208
username = connection_args.get("username")
209209
password = connection_args.get("password")
210210

211-
conn_str = f"DATABASE={database};hostname={host};port={port};"
212-
f"uid={username};pwd={password};"
211+
conn_str = (
212+
f"DATABASE={database};hostname={host};port={port};"
213+
f"uid={username};pwd={password};"
214+
)
213215

214216
if "security" in connection_args:
215217
security = connection_args.get("security")

libs/langchain-db2/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44

55
[tool.poetry]
66
name = "langchain-db2"
7-
version = "0.1.4"
7+
version = "0.1.5"
88
description = "An integration package connecting Db2 vector store and LangChain"
99
authors = ["IBM"]
1010
readme = "README.md"

0 commit comments

Comments
 (0)