Skip to content
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

None decorator-like usage of retrying #63

Open
banjoh opened this issue Sep 26, 2016 · 0 comments
Open

None decorator-like usage of retrying #63

banjoh opened this issue Sep 26, 2016 · 0 comments

Comments

@banjoh
Copy link

banjoh commented Sep 26, 2016

The documentation focuses on using the retry call as a decorator. Does it mean that the internal Retrying interface is bound to change? If not, please state that in the docs and maybe give an example usage.

In some cases I would like to use retrying like below, but am afraid the interface may change.

retry_call = Retrying(stop_max_attempt_number=self.retry_count, wait_fixed=self.retry_sleep)
retry_call.call(self._remote_call)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant