Hey, I was wondering if there is any way to implem...
# ask-metaflow
h
Hey, I was wondering if there is any way to implement functionality similar to what the
task_post_step
offers when you extend the
StepDecorator
but at the flow level? I would like to initialize some logic that creates resources at the flow level and then tear it down once the flow completes.
1
s
the flow decorators can apply the decorators at step level. you can then choose to run set up options as part of
task_pre_step
in
start
step and clean up actions in
task_post_step
of
end
step and
task_exeception
of any other step
thankyou 1