We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a965b4 commit 00e529aCopy full SHA for 00e529a
nisystemlink/clients/notebook/_notebook_client.py
@@ -15,7 +15,7 @@
15
)
16
from nisystemlink.clients.core.helpers._iterator_file_like import IteratorFileLike
17
from requests.models import Response
18
-from uplink import Part, Path
+from uplink import Part, Path, retry
19
20
from . import models
21
@@ -36,6 +36,7 @@ def _simple_response_handler(response: Response) -> dict:
36
return response.json()
37
38
39
+@retry(when=retry.when.status(429), stop=retry.stop.after_attempt(5))
40
class NotebookClient(BaseClient):
41
def __init__(self, configuration: Optional[core.HttpConfiguration] = None):
42
"""Initialize an instance.
0 commit comments