hotdata-runtime 0.2.1__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/CHANGELOG.md +14 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/PKG-INFO +2 -2
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/hotdata_runtime/client.py +2 -2
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/hotdata_runtime/databases.py +1 -1
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/pyproject.toml +2 -2
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/scripts/release.sh +4 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/tests/test_databases.py +2 -2
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/uv.lock +5 -5
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/.github/workflows/check-release.yml +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/.github/workflows/ci.yml +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/.github/workflows/publish.yml +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/.github/workflows/release.yml +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/.gitignore +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/CONTRACT.md +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/README.md +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/RELEASING.md +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/examples/basic_usage.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/hotdata_runtime/__init__.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/hotdata_runtime/env.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/hotdata_runtime/health.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/hotdata_runtime/http.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/hotdata_runtime/result.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/scripts/check-release.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/scripts/extract-changelog.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/scripts/publish-workflow.sh +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/scripts/update_changelog.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/tests/test_client.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/tests/test_contract.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/tests/test_health.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/tests/test_result.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/tests/test_update_changelog.py +0 -0
- {hotdata_runtime-0.2.1 → hotdata_runtime-0.2.3}/tests/test_version.py +0 -0
|
@@ -8,6 +8,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
## [0.2.3] - 2026-05-27
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Release 0.2.3
|
|
18
|
+
|
|
19
|
+
## [0.2.2] - 2026-05-27
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Release 0.2.2
|
|
24
|
+
|
|
11
25
|
## [0.2.1] - 2026-05-24
|
|
12
26
|
|
|
13
27
|
### Added
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hotdata-runtime
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Workspace/session runtime primitives for Hotdata integrations
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.10
|
|
7
|
-
Requires-Dist: hotdata>=0.2.
|
|
7
|
+
Requires-Dist: hotdata>=0.2.5
|
|
8
8
|
Requires-Dist: pandas>=2.0
|
|
9
9
|
Description-Content-Type: text/markdown
|
|
10
10
|
|
|
@@ -180,7 +180,7 @@ class HotdataClient:
|
|
|
180
180
|
listing = self._databases_api().list_databases()
|
|
181
181
|
match_id: str | None = None
|
|
182
182
|
for db in listing.databases:
|
|
183
|
-
if db.
|
|
183
|
+
if db.name == name_or_id:
|
|
184
184
|
match_id = db.id
|
|
185
185
|
break
|
|
186
186
|
if match_id is None:
|
|
@@ -208,7 +208,7 @@ class HotdataClient:
|
|
|
208
208
|
)
|
|
209
209
|
]
|
|
210
210
|
request = CreateDatabaseRequest(
|
|
211
|
-
|
|
211
|
+
name=description,
|
|
212
212
|
schemas=schemas,
|
|
213
213
|
expires_at=expires_at,
|
|
214
214
|
)
|
|
@@ -52,7 +52,7 @@ def is_parquet_path(path: str) -> bool:
|
|
|
52
52
|
def managed_database_from_detail(detail: Any) -> ManagedDatabase:
|
|
53
53
|
return ManagedDatabase(
|
|
54
54
|
id=str(detail.id),
|
|
55
|
-
description=detail.
|
|
55
|
+
description=detail.name,
|
|
56
56
|
default_connection_id=str(detail.default_connection_id),
|
|
57
57
|
)
|
|
58
58
|
|
|
@@ -4,13 +4,13 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "hotdata-runtime"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.3"
|
|
8
8
|
description = "Workspace/session runtime primitives for Hotdata integrations"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = { text = "MIT" }
|
|
12
12
|
dependencies = [
|
|
13
|
-
"hotdata>=0.2.
|
|
13
|
+
"hotdata>=0.2.5",
|
|
14
14
|
"pandas>=2.0",
|
|
15
15
|
]
|
|
16
16
|
|
|
@@ -122,10 +122,14 @@ cmd_prepare() {
|
|
|
122
122
|
|
|
123
123
|
set_version "$new"
|
|
124
124
|
update_changelog "$new"
|
|
125
|
+
if command -v uv >/dev/null 2>&1 && [[ -f uv.lock ]]; then
|
|
126
|
+
uv lock
|
|
127
|
+
fi
|
|
125
128
|
|
|
126
129
|
branch="release/v${new}"
|
|
127
130
|
git checkout -b "$branch"
|
|
128
131
|
git add pyproject.toml CHANGELOG.md
|
|
132
|
+
[[ -f uv.lock ]] && git add uv.lock
|
|
129
133
|
git commit -m "chore: release v${new}"
|
|
130
134
|
|
|
131
135
|
pkg="$(get_pkg_name)"
|
|
@@ -20,7 +20,7 @@ def _client() -> HotdataClient:
|
|
|
20
20
|
def _detail(id="db_1", description="sales", default_connection_id="conn_1"):
|
|
21
21
|
return SimpleNamespace(
|
|
22
22
|
id=id,
|
|
23
|
-
|
|
23
|
+
name=description,
|
|
24
24
|
default_connection_id=default_connection_id,
|
|
25
25
|
)
|
|
26
26
|
|
|
@@ -86,7 +86,7 @@ def test_resolve_managed_database_by_id():
|
|
|
86
86
|
|
|
87
87
|
def test_resolve_managed_database_by_description():
|
|
88
88
|
client = _client()
|
|
89
|
-
summary = SimpleNamespace(id="db_1",
|
|
89
|
+
summary = SimpleNamespace(id="db_1", name="sales")
|
|
90
90
|
listing = SimpleNamespace(databases=[summary])
|
|
91
91
|
detail = _detail()
|
|
92
92
|
with patch.object(client, "_databases_api") as dbs:
|
|
@@ -43,7 +43,7 @@ wheels = [
|
|
|
43
43
|
|
|
44
44
|
[[package]]
|
|
45
45
|
name = "hotdata"
|
|
46
|
-
version = "0.2.
|
|
46
|
+
version = "0.2.5"
|
|
47
47
|
source = { registry = "https://pypi.org/simple" }
|
|
48
48
|
dependencies = [
|
|
49
49
|
{ name = "pydantic" },
|
|
@@ -51,14 +51,14 @@ dependencies = [
|
|
|
51
51
|
{ name = "typing-extensions" },
|
|
52
52
|
{ name = "urllib3" },
|
|
53
53
|
]
|
|
54
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
54
|
+
sdist = { url = "https://files.pythonhosted.org/packages/d5/e2/ff851077e60cd23d238c99a5a56ed03789f66b031880d345eb76ec7ff36b/hotdata-0.2.5.tar.gz", hash = "sha256:a594e9b13e11f4d0ab47a307ffd93e6ed446e302960e8b6c0545e5e1937ab744", size = 121593, upload-time = "2026-05-27T22:30:42.91Z" }
|
|
55
55
|
wheels = [
|
|
56
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
56
|
+
{ url = "https://files.pythonhosted.org/packages/39/ff/6e94bcdba947af4d86380fcb60c638c19e604d382981a8cb5dce04c122ac/hotdata-0.2.5-py3-none-any.whl", hash = "sha256:9a48d91f82686a530f83afef9dca774aa88c1232b508972502391185d85bbddc", size = 285812, upload-time = "2026-05-27T22:30:41.511Z" },
|
|
57
57
|
]
|
|
58
58
|
|
|
59
59
|
[[package]]
|
|
60
60
|
name = "hotdata-runtime"
|
|
61
|
-
version = "0.2.
|
|
61
|
+
version = "0.2.3"
|
|
62
62
|
source = { editable = "." }
|
|
63
63
|
dependencies = [
|
|
64
64
|
{ name = "hotdata" },
|
|
@@ -74,7 +74,7 @@ dev = [
|
|
|
74
74
|
|
|
75
75
|
[package.metadata]
|
|
76
76
|
requires-dist = [
|
|
77
|
-
{ name = "hotdata", specifier = ">=0.2.
|
|
77
|
+
{ name = "hotdata", specifier = ">=0.2.5" },
|
|
78
78
|
{ name = "pandas", specifier = ">=2.0" },
|
|
79
79
|
]
|
|
80
80
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|