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
{{ message }}
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 31, 2026. It is now read-only.
Add a default retry parameter to all public methods #315
All public storage method should have a default retry parametr defined so that clients don't have to explicitly use the @retry.Retry decorator to handle transient issues, like 503 error code.
The solution could look similar to the implementation in the google-cloud-bigquery where retry is implemented in every public method and it is set to DEFAULT_RETRY by default.
Activity
HemangChothani commentedon Nov 30, 2020
Almost all the public methods has retry parameter with default value, adding in the remaining methods and will expose the parameter for users.
python-storage/google/cloud/storage/client.py
Lines 528 to 535 in 6a0b8a7