- class BalancedDiscStorage.balanced_disc_storage_z.BalancedDiscStorageZ(path)¶
This class is the same as BalancedDiscStorage, but it also allows adding the .zip files, which are unpacked to proper path in storage.
- max_zipfiles = None¶
How many files may be in .zip
Add archive to the storage and unpack it.
zip_file_obj (file) – Opened file-like object.
Path where the zip_file_obj was unpacked wrapped in PathAndHash structure.
- ValueError – If there is too many files in .zip archive. See _max_zipfiles for details.
- AssertionError – If the zip_file_obj is not file-like object.