0.36.0 - 2022-09-12
Added
- input multiplicity within the cli in debug mode
list_model
to the SDK client
Removed
- chore: remove the
examples
section, and references to them
Changed
- BREAKING CHANGE: opener input identifier must be
opener
- BREAKING CHANGE: datasample input identifier must be
datasamples
- BREAKING CHANGE:
chainkeys
, opener
and datasamples
are forbidden identifier for inputs and outputs
of kind artifact
and performance
- BREAKING CHANGE: pass the algo method to execute under the
--method-name
argument within the CLI.
If the interface between substra and the backend is handled via substratools, there are no changes to apply
within the the substra
code but algo and metric Dockerfiles should expose a --method-name
argument in
the ENTRYPOINT
(#266)
- test tasks now have an higher rank than their parent train task
- chore: remove close source for CHANGELOG, README and cyclic-example
- chore: rename connect-tools to substra-tools.
- BREAKING CHANGE: remove the shared local folder of the compute plan
- feat: download function of the client return the path of downloaded file.
Feature
- Local mode: add a check, a task output of type performance must have public permissions
Fixes
- Filters: Fix the filters on status for compute plans and tasks
This fix also introduces some changes: the value for the filters on status must now be a list (like for other filters, there is a OR condition between elements of the list) and its value must be
substra.models.ComputePlanStatus.{name of the status}.value
for compute plans and substra.models.Status.{name of the status}.value
for tasks.
Example:
# Return all the compute plans that are not finished
client.list_compute_plan(filters={'status':[substra.models.ComputePlanStatus.todo.value, substra.models.ComputePlanStatus.waiting.value, substra.models.ComputePlanStatus.doing.value]})
# Return all the composite traintuples with the status "doing"
client.list_composite_traintuple(filters={"status": [substra.models.Status.doing.value]})
Documentation
- Add the filters documentation to the references