feat: handling for partial downlads
- [x] 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
- [x] Ensure the tests and linter pass Used nox -s scripts-3.9 , also manually ran test_http.py
- [x] Code coverage does not decrease (if any source code was changed) No change before/after with scripts-3.9
- [x] 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.
🤖 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/