feat: handling for partial downlads by coanghel · Pull Request #2310 · googleapis/google-api-python-client
- Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- Ensure the tests and linter pass Used nox -s scripts-3.9 , also manually ran test_http.py
- Code coverage does not decrease (if any source code was changed) No change before/after with scripts-3.9
- Appropriate docs were updated (if necessary)
Added an optional start parameter to the constructor of MediaIoBaseDownload() to allow for resuming a download from a certain byte. If not provided, MediaIoBaseDownload() will continue to function as it does currently and start the download from byte 0.
Fixes #2309 🦕
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
coanghel
changed the title
Added handling for partial downlads to MediaIoBaseDownload()
feat: handling for partial downlads to MediaIoBaseDownload class
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use automerge label. Good luck human!
-- conventional-commit-lint bot
https://conventionalcommits.org/
coanghel
changed the title
feat: handling for partial downlads to MediaIoBaseDownload class
feat: handling for partial downlads
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters