red-fountain-16335
05/23/2023, 1:16 PM@catch decorator and mf.Flow(…).latest_successful_run
Basically, the flow fails at the end step, which is wrapped with a @catch decorator. This makes the flow continue and show as successful in the Metaflow UI.
But… when trying to retrieve an artifact from latest_successful_run I keep getting an error. When printing the details for the historical runs (run.successful), I can see there isn’t anyone marked as successful = True
I imagine this is not the expected behavior. So Raising for support. Should I create an issue?red-fountain-16335
05/23/2023, 1:22 PMend.
Then it works fine!
1. model_explainability fails. Wrapped in @catch, so move on to the end step
2. Flow is marked as successful in the UI and when retrieving artifacts from latest_successful_run 🙌square-wire-39606
05/23/2023, 2:33 PM