Jeff Brainerd09/03/2020, 6:41 PM
in those cases. Problem is this does not appear to work in the task handler. This code gets called: https://github.com/PrefectHQ/prefect/blob/5b7015a75ea60bc5a8ffb676b3be2ff406103583/src/prefect/engine/cloud/task_runner.py#L96-L105 and the task ultimately is failed, not retried. So should our code be something more like this:
or should this in fact work? Thanks!
return Retrying(msg=msg, context=new_state.context)
Dylan09/03/2020, 6:47 PM
Jeff Brainerd09/03/2020, 7:42 PM
Dylan09/03/2020, 7:45 PM