Hello, Can I access the `RetryPolicy` applied to a...
# ask-community
j
Hello, Can I access the
RetryPolicy
applied to an Op from
OpExecutionContext
? My goal is to check whether the current number of retries is still less than the maximum retries configured for an Op, so that I can raise a certain exception, otherwise I would just want to continue the pipeline passing on information about the error.
🤖 1
I´ve found out that I can access the
RetryPolicy
through
OpExecutionContext.op.retry_policy