You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to backoff/retry certain HTTP exceptions like 429, too many requests, but at the moment this isn't possible because there is only a generic requests.exceptions.HTTPError. I've looked into backoff.on_exception() and it looks like it could be extended to have something like a details parameter, maybe a dict with some keys and expected values. Does that sound doable? If so I could give it a try...
The text was updated successfully, but these errors were encountered:
First: very cool/useful package! Thanks!!
I would like to backoff/retry certain HTTP exceptions like 429, too many requests, but at the moment this isn't possible because there is only a generic
requests.exceptions.HTTPError
. I've looked intobackoff.on_exception()
and it looks like it could be extended to have something like adetails
parameter, maybe a dict with some keys and expected values. Does that sound doable? If so I could give it a try...The text was updated successfully, but these errors were encountered: