2.12.1
Features
Configurable default decorators
This release adds the ability to configure default decorators that will be applied to all steps. This is achieved by setting the decospecs as a value (space separated) for METAFLOW_DECOSPECS
either as an environment variable or in a config.json
The following example would add retry and kubernetes decorators with a custom memory value to all steps:
export METAFLOW_DECOSPECS="kubernetes:memory=4096 retry"
Defining a decorator with the --with
keyword will override the defaults configured. Same applies for explicitly adding a decorator in the flow file.
Improvements
Correctly clean up Argo Workflow sensors when using @project
This release fixes an issue where argo-workflows delete
did not correctly remove possible sensors associated with the workflow if the workflow used the @project
decorator.
What's Changed
- Add the possibility of defining default decorators for steps by @romain-intel in #1837
- bugfix: properly deletes Argo Events trigger sensors when
@project
is used by @gabriel-rp in #1871 - S3PubObject was not used properly after #1807 by @romain-intel in #1872
- bump version to 2.12.1 by @saikonen in #1874
New Contributors
- @gabriel-rp made their first contribution in #1871
Full Changelog: 2.12.0...2.12.1