Hi! No rush on this, but let’s say we have a function task that’s been retried twice already, and it succeeds on the third retry. Is there any way for us to “access” that
nth_retry
data? Does prefect internally maintain that state that we can access? Or in
prefect.context
?
Thank you!
k
Kevin Kho
07/25/2021, 10:19 PM
Hey @Danny Vilela, what piece of data are you trying to access? Like the error?
d
Danny Vilela
07/26/2021, 12:04 AM
Hey Kevin! Not necessarily the error, but rather some way (directly or otherwise) that can tell me “here’s how many times this tasked has failed prior (if at all)“. I imagine this could be arranged as some sort of global counter, but ideally there’s a more Prefect-compatible approach.
Danny Vilela
07/26/2021, 12:52 AM
I think this page tells me that what I want might be found under
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.