Skip to content

deps: upgrade hotdata SDK to 0.2.4#19

Merged
eddietejeda merged 2 commits into
mainfrom
deps/hotdata-sdk-0.2.4
May 27, 2026
Merged

deps: upgrade hotdata SDK to 0.2.4#19
eddietejeda merged 2 commits into
mainfrom
deps/hotdata-sdk-0.2.4

Conversation

@eddietejeda

Copy link
Copy Markdown
Contributor

Summary

  • Bumps hotdata dependency to >=0.2.4 and updates uv.lock
  • Fixes callers for the breaking rename of descriptionname on CreateDatabaseRequest, DatabaseSummary, and DatabaseDetailResponse introduced in SDK 0.2.4

Changes

  • pyproject.toml / uv.lock: hotdata>=0.2.3>=0.2.4
  • src/ibis_hotdata/http.py: CreateDatabaseRequest(description=…)name=…
  • src/ibis_hotdata/backend.py: database list-scan lookup uses db["name"] instead of db["description"]
  • tests/: mock request assertions and response fixtures updated to match the renamed field

Test plan

  • All 98 unit tests pass locally (uv run pytest tests/ -v)

Bumps the hotdata dependency to >=0.2.4 and updates callers for the
breaking rename of `description` → `name` on `CreateDatabaseRequest`,
`DatabaseSummary`, and `DatabaseDetailResponse`.

- `http.py`: pass `name=` instead of `description=` to `CreateDatabaseRequest`
- `backend.py`: scan list by `db["name"]` instead of `db["description"]`
- tests: update mock request assertions and response fixtures accordingly
Comment thread src/ibis_hotdata/http.py Outdated
)
]
req = CreateDatabaseRequest(description=description, schemas=schemas)
req = CreateDatabaseRequest(name=description, schemas=schemas)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: (not blocking) the surrounding parameter is still named description (line 198) but now maps to the SDK's name field. Consider renaming the parameter to name for consistency with the SDK rename — the only internal caller (backend.py:597) would update from description=name to name=name.

raise _ibis_err_from_hotdata(exc) from exc
for db in data.get("databases", []):
if db.get("description") == name_or_id:
if db.get("name") == name_or_id:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: (not blocking) several nearby comments/docstrings still describe the lookup as "by id or description" or "Fall back to description scan" (lines 340, 350, 364, 588). Worth updating the prose to match the renamed field.

claude[bot]
claude Bot previously approved these changes May 27, 2026
@eddietejeda eddietejeda merged commit 6dee2c3 into main May 27, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant