https://dagster.io/ logo
#ask-ai
Title
# ask-ai
p

Pranav Manjapra

03/06/2024, 6:22 PM
Is there a way to raise a
RetryRequested
but provide a new run config to use?
s

Scout

03/06/2024, 6:22 PM
No, there is currently no supported way to raise a
RetryRequested
with a new run config. The
RetryRequested
exception is used to manually request a retry of an op within the same run, and it does not support modifying the run config for the retry. The run config is determined at the start of the run and is not designed to be changed during execution. If you need to modify the run config and retry the run, you would typically need to start a new run with the updated configuration. This would not be done through the
RetryRequested
mechanism but rather through creating a new run request with the desired run config.