0.38.0
0.38.0 - 2022-09-26
Tests
- used openers within the library only exposes
get_data
andfake_data
methods due to breaking changes within
substra-tools - a third argument
task_properties
(containing therank
of a task) has been added to all algo methods relying on substra-tools - substra tools metrics
tools.Metrics
becometools.MetricAlgo
andtools.metrics.execute
becomestools.algo.execute
(#290)
Changed
- Algo categories are not checked anymore in local mode. Validations based on inputs and outputs are sufficient.
- BREAKING CHANGE: the backend type is now set in the Client, the env variable
DEBUG_SPAWNER
is not used anymore. Default value is deployed (#287)
API before
export DEBUG_SPAWNER=subprocess
client = substra.Client(debug=True)
API after
client = substra.Client(backend_type=substra.BackendType.LOCAL_SUBPROCESS)
- Pass substra-tools arguments via a file instead of the command line
- internal change: the metrics algo CLI is the same as the other algos (#290)
Removed
- BREAKING CHANGE: Model.category field