https://dagster.io/ logo
Title
d

David

06/04/2021, 7:04 AM
Hello! If a solid is retried by
raise RetryRequested(max_retries=2)
, is there a way to determine within the solid that it is running as a retry, and how many times it has already already been retried? Thanks!
a

alex

06/04/2021, 2:50 PM
no but can probably add it to the
context
d

David

06/07/2021, 6:23 AM
Thanks for the answer. At first I thought you meant I can set it in the context myself, but I can't see a way to do that, so I assume you mean it's something that can be added as a feature? If that's the case, when would it likely be possible to get it?
a

alex

06/07/2021, 2:01 PM
ah ya i could have been more clear, I sent a diff out to add it to context. Chances are it will go out in our weekly release this thursday
👍 1
d

David

06/08/2021, 10:38 AM
Awesome. I'll keep an eye out for it. Thanks!