Skip to main content
0 votes
0 answers
240 views

I am using the azure-keyvault python package to authenticate with azure. I am trying to add retry logic to the api call client.get_secret(secretName) shown below. import os from azure.keyvault.secrets ...
3awny's user avatar
  • 379
2 votes
2 answers
3k views

I have a usecase where a method which adds a row to a table needs to be retried in case of any exception. I am using @retry decorator of retrying to achieve this. One of the cases is when there is a ...
darthsithius's user avatar
0 votes
1 answer
1k views

I am having problems installing plotly on Windows 10 with Python 3.8.5. The command line prompt is in admin mode. The package manager pip3 here seems to be installing the package retrying-1.3.3 which ...
blizzardus's user avatar
3 votes
1 answer
2k views

I'm trying to use retry decorator. It's working well, but when the maximum retries are reached an exception teaks place. How do I avoid this exception to return well from this situation, or how to ...
Itaybz's user avatar
  • 83
4 votes
2 answers
3k views

Tried this in the retrying and tenacity python libraries to no avail. Retries are typically used with a decorator, for example as shown in metacode below: class FooBar: @retry(attempts=3) def ...
Adam Hughes's user avatar
  • 16.6k
0 votes
1 answer
372 views

I've read all this doc : https://cloud.google.com/pubsub/docs/publisher there are 3 examples: Publishing to topic Publishing with batch mode Publishing with retrying requests I want to combine ...
Rehan's user avatar
  • 426
0 votes
2 answers
205 views

I have a function decorated with the @retry (from the retrying library), i want to alter the behaviour of the function to log more if this is a retry - is there a built in way to handle this? i.e. ...
Binyamin's user avatar
  • 520
1 vote
0 answers
19 views

Looking for the script or formula to pull data from a range of houses on a separate sheet, based on the available sized home that can be built. Heres the initial process. We are calculating "Size of ...
Adrian Hilterman's user avatar
1 vote
1 answer
394 views

I want to use the package "Backoff" in my web scrape and I cannot get it to work. Where do I insert it?How to I get "r = requests..." to still be recognized? I've tried putting the statement into my ...
workin 4weekend's user avatar
2 votes
0 answers
468 views

I use the Python retrying library to wait and retry download when server is in DDoS protection, but my question is how can I throw an exception when all retries fail ? In my code the download(symbol) ...
Florent's user avatar
  • 1,958
3 votes
1 answer
2k views

First, I running the code like that, and the retry is working properly. # -*- coding:utf-8 -*- from retrying import retry import asyncio import time num = 0; def retry_if_result_none(result): ...
Yu Chen's user avatar
  • 59