code: def make_zip_archive(repo_path: str) -> io.BytesIO:
      aim_dir = os.path.join(repo_path, ".aim")
      zip_buf = io.BytesIO()
      zipf = zipfile.ZipFile(zip_buf, "w", zipfile.ZIP_DEFLATED)
      len_dir_path = len(aim_dir)
      for root, _, files in os.walk(aim_dir):
          for file in files:
              file_path = os.path.join(root, file)
              zipf.write(file_path, file_path[len_dir_path:])
      zipf.close()
      return zip_buf
  
file_path: aim/aim/cli/runs/utils.py
imports: import fnmatch
  import os
  from typing import List, Tuple, TYPE_CHECKING
  import io
  import zipfile
  from datetime import datetime
label_desc: Use image node_id 2 for calling a global function with example usage: make_zip_archive(repo_path) and returns: zip_buf