googlearchive/PyDrive

Retries for failed API requests

Opened this issue · 0 comments

Currently, pydrive uses googleapiclient for all Drive API operations, but doesn't retry any failed requests. However, the Drive API recommends retries with exponential backoff for many errors, and googleapiclient supports retries for all requests.

Would it be possible to add retry behavior as per the Drive API recommendations?

(Additionally, it'd be great to add this for the initial client creation, as the discovery service can also throw 500s.)

Thanks!