code: def MakeZip(self, input_dir, output_file):
      
      logging.info("Generating zip template file at %s", output_file)
      basename, _ = os.path.splitext(output_file)
      # TODO(user):pytype: incorrect make_archive() definition in typeshed.
      # pytype: disable=wrong-arg-types
      shutil.make_archive(
          basename, "zip", base_dir=".", root_dir=input_dir, verbose=True)
docs: Creates a ZIP archive of the files in the input directory.
  
      Args:
        input_dir: the name of the input directory.
        output_file: the name of the output ZIP archive without extension.