Open
Description
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)
Metadata
Metadata
Assignees
Labels
No labels