code: def build_ascii(
      licenses: List[License], our_license_path: str
  ) -> str:
      with open(our_license_path) as f:
          our_license_text = f.read()
  
      paragraphs = [
          our_license_text.rstrip(),
          "This software is bundled with each of the following projects, in part or in whole:",
      ]
  
      for license in licenses:
          paragraphs.append(license.ascii_entry())
  
      return "\n\n".join(paragraphs)
  
file_path: determined/tools/scripts/gen-attributions.py
imports: import email
  import os
  import sys
  from typing import IO, List, Optional
label_desc: Use image node_id 6 for calling a global function with example usage: build_ascii(licenses, our_license_path) and returns: str