b2-sdk-python
b2-sdk-python copied to clipboard
Python library to access B2 cloud storage.
I'm using [https://github.com/ehossack/django-backblaze-b2](https://github.com/ehossack/django-backblaze-b2) as a storage backend, which uses `b2sdk` to store files in a backblaze bucket. Around 24 hours after deployment, I see frequent errors: `unauthorized for application key...
This PR fixes the b2http logic to avoid any retries during the upload requests. Previously, the http layer would still proceed with retries during upload failures, preventing the upload manager...
https://github.com/Backblaze/b2-sdk-python/blob/4aa3d3c09cc0b847d4baad1f8247a68b3b606c66/b2sdk/_internal/file_version.py#L99 This function is invoked in context where `content_sha1` is typed as `str | None`. This code will crash on None input. https://github.com/Backblaze/b2-sdk-python/blob/4aa3d3c09cc0b847d4baad1f8247a68b3b606c66/b2sdk/v2/file_version.py#L47 Simple test output with just related code...
When a server returns a 5xx error (e.g., 503 Service Unavailable) during file upload, the SDK now properly refreshes upload tokens instead of retrying with stale cached upload URLs a...
EmergePlanner optimization solution as a task for job recruiting process. Task: `implementation of https://github.com/Backblaze/b2-sdk-python/blob/10a5e720237cf2581a7f6297eda13f0e725a685b/b2sdk/transfer/emerge/planner/planner.py#L191 is a little bit naiive, because (with 5MB minimum part size) if we mark "u" as...
Hi, `/b2api/v4/b2_get_download_authorization` accepts many parameters that are not exposed in this lib. All b2* are missing. I am specifically looking for `b2ContentDisposition` when generating auth token. Can I make a...
I've been trying to solve a simple problem, how to specify to only upload file`file1.dat` I have these files in the folder: `file1.dat` `file2.dat` `file3.dat` I've tried with many different...
Please document the `retain_until` parameter of the [`FileRetentionSetting`](https://b2-sdk-python.readthedocs.io/en/master/api/file_lock.html#b2sdk.v2.FileRetentionSetting) class. What is the `int` supposed to represent?