Most simple tenacity usage
# Just a simple one-liner to quickly make a thing retrieable import tenacity as tn @tn.retry(wait=tn.wait_exponential(multiplier=1, min=10), stop=tn.stop_after_attempt(5))