-
Notifications
You must be signed in to change notification settings - Fork 115
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
What is the proper way to decorate the methods of a class? #3
Comments
Given that SailthruClient is coming from a library I pip installed (don't have the source in my code tree). Is it the case that I would have to fork the library and place it before each function? |
Does v0.8.1 + decorator library work? |
v0.8.1 + decorator fails the same way |
v0.8.1 or v0.9.0 w/o decorator, and thus failing back to https://github.com/invl/retry/blob/0.8.1/retry/compat.py succeeds |
I don't think retry library is responsible for this, but you could try to change |
Close due to inactivity. |
@invl That worked, thanks! |
This question is involves v0.8.1 versus v0.9.0, and class decoration.
With v0.8.1 and no decorator library, the following worked. Upgrading to v0.9.0 and installing the decorator library fails, because the behavior of the fallback decorator logic from v0.8.1 is different from the behavior of the decorator library.
What is the proper way to decorate the methods of a class, using the retry library?
The text was updated successfully, but these errors were encountered: