code: def _backup_compresslevel(self, dirs):
          
          # Only supported in Python 3.7+
          with ZipFile(self.zip_filename, 'w', compresslevel=self.compress_level) as backup_zip:
              for path in tqdm(dirs, desc='Writing Zip Files', total=len(dirs)):
                  backup_zip.write(path, path[len(self.source):len(path)])
docs: Create a backup file with a compresslevel parameter.