-
-
Notifications
You must be signed in to change notification settings - Fork 303
Add retry_if_not_exception_type() #300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
jd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small typo
releasenotes/notes/add-retry_except_exception_type-31b31da1924d55f4.yaml
Outdated
Show resolved
Hide resolved
Co-authored-by: Julien Danjou <julien@danjou.info>
|
I think we can be clearer on the naming of this method to better communicate what it is doing. Is this implementing the |
|
I'm fine with whatever. |
|
I do think
In particular, I think it's important that the new method, whatever it's called, is clearly set apart from More generally, I'm slightly alarmed by the "I'm fine with whatever" remark. I worry that without careful consideration of usability, adoption of this library will be hampered in the future. (This is speaking as someone who has tried to bring tenacity in to an existing codebase which already has numerous disparate approaches to retry logic, and the complexity/usability concerns around tenacity have certainly been a barrier to adoption.) |
|
A relation between Therefore, if I would rename, I think For details,
By the way,
Retry until I'm not good at English and I'm sorry for my bad English. |
|
@henry0312 Thanks for taking the time to look at this in such detail. I agree that P.S. Don't apologise, your english is great! (I have no reason to believe you're not a native speaker!) |
|
@jd I just fixed tests! |
|
Likewise! Thanks so much jd and all that contributed! I would start using this feature once the next release is out. |
Fixes #256