Skip to content

0.1.1

Compare
Choose a tag to compare
@dhermes dhermes released this 05 May 18:46
· 253 commits to main since this release
  • Renamed constants module as common

  • Added RetryStrategy class so individual upload and download instances could have fine-grained control over how they attempt retries.

  • Added non-public _retry_strategy attribute (e.g.) to all upload and download classes. For now, this cannot be modified via the public interface however, it can still be used, e.g.

    from google import resumable_media
    from google.resumable_media.requests import SimpleUpload
    
    upload_url = u'https://some-url.invald'
    upload = SimpleUpload(upload_url)
    
    upload._retry_strategy = resumable_media.RetryStrategy(max_retries=10)

PyPI: https://pypi.python.org/pypi/google-resumable-media/0.1.1
Docs: https://googlecloudplatform.github.io/google-resumable-media-python/0.1.1/