Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ print(result) # JSON rows
tools["hotdata_create_managed_database"].invoke({
"name": "sales",
"schema_name": "public",
"tables": "orders\ncustomers",
"tables": "orders,customers",
})

tools["hotdata_load_managed_table"].invoke({
Expand Down
4 changes: 2 additions & 2 deletions hotdata_langchain/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def hotdata_create_managed_database(
schema_name: str = DEFAULT_SCHEMA,
tables: str = "",
) -> str:
"""Create a Hotdata-managed database and optionally declare tables (one per line)."""
table_names = [line.strip() for line in tables.splitlines() if line.strip()]
"""Create a Hotdata-managed database and optionally declare tables (comma or newline separated)."""
table_names = [t.strip() for t in tables.replace(",", "\n").splitlines() if t.strip()]
db = create_managed_database(
client,
name=name,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ requires-python = ">=3.10"
license = { text = "MIT" }
dependencies = [
"hotdata-runtime>=0.2.1",
"hotdata>=0.2.0",
"hotdata>=0.2.5",
Comment thread
eddietejeda marked this conversation as resolved.
"langchain-core>=0.3.0",
]

Expand Down
75 changes: 0 additions & 75 deletions scripts/publish-workflow.sh

This file was deleted.

14 changes: 7 additions & 7 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading