code: def add_notes(helm_chart_template_dir: str) -> None:
      """Add notes or information post helm install or upgrade."""
  
      notes = """
      Thank you for installing {{ .Chart.Name }}.
      Your release is named {{ .Release.Name }}.
      To learn more about the release, try:
  
          $ helm status {{ .Release.Name }} -n {{ .Release.Namespace }}
          $ helm get all {{ .Release.Name }}
      """
  
      notes_path = os.path.join(helm_chart_template_dir, "NOTES.txt")
  
      protocol_changelog = get_protocol_changes()
  
      notes += "\n" + protocol_changelog
  
      with open(notes_path, "w") as fp:
          fp.write(notes)
  
imports: import json
  import os
  from pathlib import Path
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: add_notes(helm_chart_template_dir) without return types