b2sdk.transfer.inbound.downloader.simple
– SimpleDownloader¶
-
class
b2sdk.transfer.inbound.downloader.simple.
SimpleDownloader
(*args, **kwargs)[source]¶ Bases:
b2sdk.transfer.inbound.downloader.abstract.AbstractDownloader
-
is_suitable
(metadata, progress_listener)[source]¶ Analyze metadata (possibly against options passed earlier to constructor to find out whether the given download request should be handled by this downloader).
-
download
(file, response, metadata, session, encryption: Optional[b2sdk.encryption.setting.EncryptionSetting] = None)[source]¶ @returns (bytes_read, actual_sha1)
-