Danny Vilela
07/22/2021, 6:39 PM@task(max_retries=10, retry_delay=timedelta(minutes=5))
. But the failure is “silent”, in that it’s wrapped by a lower-level library. I know how to check whether it’s failed, so how should I tell Prefect that the task failed (and retry?) — is it enough to raise prefect.engine.signals.FAIL
? Or does it need to be an explicit raise ValueError
or something?Zanie
Danny Vilela
07/22/2021, 6:40 PMDanny Vilela
07/22/2021, 6:41 PMRETRY
signal fit here? Will it only RETRY
if you’ve decorated the appropriate function task parameters? Or…retry indefinitely?Zanie
Danny Vilela
07/22/2021, 6:43 PMFAIL
for now. Thanks again Michael 🙏Zanie
Zanie
Danny Vilela
07/22/2021, 6:46 PMKevin Kho
Danny Vilela
07/25/2021, 8:58 PM