Skip to content
Draft
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
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ All notable changes to the [Nucleus Python Client](https://github.com/scaleapi/n
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.21.4](https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.21.4) - 2026-08-27

### Added
- **Training set export / download (DE-8692).** Pull a training set's members back out as fully-hydrated items. `TrainingSet.export_items()` / `NucleusClient.export_training_set_items()` page the whole set and return `DatasetItem`s (media location, `reference_id`, `metadata`, `width` / `height`, and the server-side `dataset_item_id`). `TrainingSet.export_to_file(path)` writes every member to a JSONL file (one raw export record per line — `dataset_item_id`, `dataset_id`, `reference_id`, `metadata`, `image_location`, `pointcloud_location`, `width`, `height`) and returns the count written. `TrainingSet.download_items(directory)` streams each member's media file to disk (named by `reference_id`, falling back to `dataset_item_id`), returning the number downloaded.

## [0.21.3](https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.21.3) - 2026-08-27

### Added
- **Training sets (DE-8692).** `TrainingSet` — a mutable, versioned, model-scoped collection of `dataset_item` ids spanning one or more datasets. Create and attach one to a model with `NucleusClient.create_training_set(name, model=...)` or `Model.create_training_set(name, ...)`, providing members through any combination of `item_ids`, `(dataset_id, reference_id)` pairs via `items`, `slice_id` / `slice_ids`, `dataset_id` / `dataset_ids`, and the members of other training sets via `training_set_ids`. Fetch/list with `get_training_set()` / `list_training_sets()`; read a model's pinned set via `Model.training_set`.
- **Mutable membership.** Add sources with `TrainingSet.add_items()` / `NucleusClient.add_training_set_items()` (async, same sources as create), remove with `TrainingSet.remove_items()` / `NucleusClient.remove_training_set_items()`, and page members with `TrainingSet.items()` / `NucleusClient.list_training_set_items(limit=, offset=)`.
- **Versioning / lineage.** Cut a new version with `TrainingSet.new_version()` / `NucleusClient.create_training_set_version()` (child inherits the parent's items, sources add on top, `removed_item_ids` prune; `parent ∪ added ∖ removed`), or pass `parent_training_set_id` to `create_training_set()`. Version defaults to a minor bump; pass `bump_type="major"` or explicit `version_major` + `version_minor`. Inspect a set's lineage with `NucleusClient.list_training_set_family()` and repin a model to a specific version with `Model.repin_training_set()` / `NucleusClient.repin_training_set()`. `TrainingSet` exposes `model_id`, `parent_training_set_id`, `version_major`, `version_minor`, and `version_label`.

## [0.21.2](https://github.com/scaleapi/nucleus-python-client/releases/tag/v0.21.2) - 2026-08-17

### Added
Expand Down
Loading