Skip to content

Commit 971471e

Browse files
committed
import migration explanation
1 parent 175fcd1 commit 971471e

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

python/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1010
#### Data Import API in SiftClient
1111
The `sift_client` module now exposes a data import API supporting CSV, Parquet, TDMS, and HDF5. With this addition, all features previously available only in `sift_py` are now available in `sift_client`, which remains the recommended interface for new development. `sift_py` (deprecated since [v0.10.0](#v0100---january-30-2026)) continues to work and ship in this release.
1212

13+
Migrating from `sift_py`: the per-format upload services are replaced by a single `client.data_imports.import_from_path` method. Where `sift_py` required hand-building a config object for every import, `sift_client` auto-detects it from the file extension. Use the new public `client.data_imports.detect_config(...)` first if you need to inspect or patch the result. The call returns a Job you can optionally wait on.
14+
15+
```python
16+
# sift_py
17+
csv_service = CsvUploadService(rest_conf)
18+
csv_service.upload("data.csv", csv_config)
19+
20+
# sift_client
21+
client.data_imports.import_from_path("data.csv", asset=my_asset)
22+
```
23+
1324
#### Test Result Logging
1425
Test result create and update events can now be optionally written to a `.jsonl` log file during a test run, then replayed against the Sift API later via the new `import_test_result_log` script.
1526

0 commit comments

Comments
 (0)