def __init__(self, archive_format=ZIP, prefix=None, description=None):
    super(CollectionArchiveGenerator, self).__init__()

    if archive_format == self.ZIP:
      self.archive_generator = utils.StreamingZipGenerator(
          compression=zipfile.ZIP_DEFLATED)
    elif archive_format == self.TAR_GZ:
      self.archive_generator = utils.StreamingTarGenerator()
    else:
      raise ValueError("Unknown archive format: %s" % archive_format)

    if not prefix:
      raise ValueError("Prefix can't be None.")
    self.prefix = prefix

    self.description = description or "Files archive collection"

    self.total_files = 0
    self.archived_files = 0
    self.failed_files = 0
Returns the current configuration of the application.
dataset/ETHPy150Open google/grr/grr/gui/api_call_handler_utils.py/CollectionArchiveGenerator.__init__--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/vistrails/core/configuration.py/get_vistrails_temp_configuration