These decorators are set at the step level, i.e. above the
Notably, you can attach any of these decorators to the flow on the
command line as well without changing the code using the
--with option. For instance,
python myflow.py run --with retry --with batch:cpu=4
@batch(cpu=4) decorators to all steps of the flow.
@environment- define environment variables for containers.
@batch- run on AWS Batch.
@card- enable reporting.
@catch- catch errors.
@conda- define libraries.
@kubernetes- run on Kubernetes.
@resources- request resources.
@retry- retry errors.
@step- define steps.
@timeout- avoid getting stuck.