Philippe Laflamme
07/06/2023, 8:36 PMenable
retries and set a max_retries
value. It's unclear to me how to configure things so that I can specify which assets get retried and which ones don't. Is it possible to enable run retries, but then only target specific assets, not every single run?Zach
07/06/2023, 8:55 PMmax_retries
value in the dagster.yaml
config, then use tags on specific jobs to set the max number of retries on the specific job like in the docs here. If you want to have retries specific to an op or an asset you can use RetryPolicies (the retry_policy parameter is available to @asset
as well as @op
). Note that the same doc page shows how you can raise a RetryRequested exception to handle specific cases in which you might want to retry somethingPhilippe Laflamme
07/06/2023, 9:03 PMmax_retries
to default_max_retries
under run_retries
would help make it clear that it's the value that will apply to jobs when unspecified as opposed to some kind of global limit of the number of retries that any one job may have.