`RetryPolicy` could benefit from a callback functi...
# dagster-feedback
c
RetryPolicy
could benefit from a callback function arg ala https://github.com/rholder/retrying
in that library, you could pass a function that evaluates any exception thrown and determine whether or not a retry is merited
afaik the only way to currently emulate that behavior is to wrap all of an op's code in a try/except block, which is repetitive
y
@Dagster Bot issue Consider allowing callback func in RetryPolicy to evaluate exception before starting a retry
d
y
Great idea - logged ^
blob beers 1