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 .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
crates-io:
name: Publish to crates.io
runs-on: ubuntu-latest
needs: [crate, wheels]
needs: [crate, wheels, pypi]
if: startsWith(github.ref, 'refs/tags/') && github.repository_owner == 'IntelliStream-DataHub'
environment: release
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ __pycache__/
# Local wheel builds (build-local-wheels.sh)
/dist/
/.xbuild/
/datahub_python_bindings/dist/
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "intellistream-datahub-sdk"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
rust-version = "1.85"
description = "Async Rust SDK for the IntelliStream DataHub REST API: time series and datapoints, events, resources and relationship edges, files, datasets, labels and subscriptions."
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ alias then applies across the whole crate, with no `use` line in any module:

```toml
[dependencies]
dh = { package = "intellistream-datahub-sdk", version = "0.5" }
dh = { package = "intellistream-datahub-sdk", version = "0.2" }
```

```rust
Expand All @@ -39,7 +39,7 @@ use intellistream_datahub_sdk::create_api_service;
#[tokio::main]
async fn main() {
let api = create_api_service(); // reads configuration from .env / the environment
let series = api.time_series.search_by_name("engine").await.unwrap();
let series = api.time_series.search_by_query("engine").await.unwrap();
for ts in series.get_items() {
println!("{}", ts.external_id);
}
Expand All @@ -57,7 +57,7 @@ async context; use the async `ApiService` there.
use intellistream_datahub_sdk::blocking;

let api = blocking::create_api_service();
let series = api.time_series.search_by_name("engine").unwrap();
let series = api.time_series.search_by_query("engine").unwrap();
```

## Configuration
Expand Down
2 changes: 1 addition & 1 deletion datahub_python_bindings/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "datahub_python_bindings"
version = "0.1.0"
version = "0.2.0"
edition = "2024"
rust-version = "1.85"
description = "PyO3 bindings for the IntelliStream DataHub SDK, published to PyPI as intellistream-datahub-sdk."
Expand Down
2 changes: 1 addition & 1 deletion datahub_python_bindings/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude = ["**/__pycache__/**"]
[project]
name = "intellistream-datahub-sdk"

version = "0.1.0"
version = "0.2.0"
description = "Python bindings for the IntelliStream DataHub SDK: time series and datapoints, events, resources and relationship edges, files, datasets, labels and subscriptions."
readme = "README.md"
authors = [{ name = "IntelliStream AS", email = "support@intellistream.ai" }]
Expand Down
Loading