Open jtyoung84 opened 2 days ago
On second thought, it might be better to handle this user-side.
I think it should be possible to configure the requests session with a retry strategy as described here: https://oxylabs.io/blog/python-requests-retry
client = CodeOcean(...)
retry = Retry(...)
adapter = HTTPAdapter(max_retries=retry)
client.session.mount(client.domain, adapter)
Code Ocean REST API requests will sometimes return a
429
response code when the server is overloaded. It will be helpful if the requests can be set to automatically retry in those events or other server error events.