Releases: Substra/substra-tools
Releases · Substra/substra-tools
0.21.3rc1
0.21.2
0.21.1
Changed
- Updated dependencies
0.21.1rc1: chore: release 0.21.1-rc1
Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
0.21.1-rc1
chore: release 0.21.1-rc1 Signed-off-by: Guilhem Barthés <guilhem.barthes@owkin.com>
0.21.0
0.21.0rc3
0.20.0
0.20.0rc1
release Signed-off-by: ThibaultFy <50656860+ThibaultFy@users.noreply.github.com>
0.19.0
0.19.0 - 2022-11-22
Changed
-
BREAKING CHANGE (#65)
- Register functions to substratools can be done with a decorator.
def my_function1: pass def my_function2: pass if __name__ == '__main__': tools.execute(my_function1, my_function2)
become
@tools.register def my_function1: pass @tools.register def my_function2: pass if __name__ == '__main__': tools.execute()
-
BREAKING CHANGE (#63)
- Rename algo to function.
tools.algo.execute
becometools.execute
- The previous algo class pass to the function
tools.algo.execute
is now several functions pass as arguments totools.execute
. The function given by the cli--function-name
is executed.
if __name__ == '__main__': tools.algo.execute(MyAlgo())
become
if __name__ == '__main__': tools.execute(my_function1, my_function2)