Don’t sleep on `urllib3.util.retry` if you’re working with requests! It’s baked in and works great for HTTP stuff.
For everything else, `tenacity` is the way. Their docs even show how to retry on custom conditions, which is slick.
Logging: I’m team "log it all" but with DEBUG level. Prod gets ERROR-only.
For everything else, `tenacity` is the way. Their docs even show how to retry on custom conditions, which is slick.
Logging: I’m team "log it all" but with DEBUG level. Prod gets ERROR-only.
