We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
class RateLimitExceed(Exception): """API reate limit exceed""" pass class Api: @retry(RateLimitExceed, tries=-1, delay=0.1, logger=logger) def _api(self, query): message = api_call() if message == 'too fast': raise(RateLimitExceed)
although the retry wrapper exists the code break with the exception when called.
The calls are done using joblib.Parallel.
could not reproduce with a minimal example (which works)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
although the retry wrapper exists the code break with the exception when called.
The calls are done using joblib.Parallel.
could not reproduce with a minimal example (which works)
The text was updated successfully, but these errors were encountered: