ecmwf / pyflow

A high level Python interface to ecFlow allowing the creation of ecFlow suites in a modular and "pythonic" way
https://pyflow-workflow-generator.readthedocs.io/en/latest/
Apache License 2.0
7 stars 7 forks source link

Move exit_hook option from Task to Node. #50

Closed corentincarton closed 1 month ago

corentincarton commented 1 month ago

At the moment, we need to inherit the Task family to be able to use the same exit_hook between the different tasks of a family. As we use mainly the exit_hook to archive logs, it should be defined at the family level.