b2sdk.transfer.inbound.downloader.simple
– SimpleDownloader¶
-
class
b2sdk.transfer.inbound.downloader.simple.
SimpleDownloader
(*args, **kwargs)[source]¶ Bases:
b2sdk.transfer.inbound.downloader.abstract.AbstractDownloader
-
REQUIRES_SEEKING
= False¶
-
download
(file: io.IOBase, response: requests.models.Response, download_version: b2sdk.file_version.DownloadVersion, session: b2sdk.session.B2Session, encryption: Optional[b2sdk.encryption.setting.EncryptionSetting] = None)[source]¶ @returns (bytes_read, actual_sha1)
-