code: def print_entry(
      section: str, description: str, pr_number: int | None
  ):
      for unwanted_prefix in PREFIXES_TO_STRIP:
          if description.lower().startswith(unwanted_prefix.lower()):
              description = description[len(unwanted_prefix) :].strip()
  
      kind, prefix = TYPE_MAPPING[section]
      if prefix:
          description = f"{prefix}: {description}"
      entry: dict[str, str | list] = {
          "kind": kind,
          "description": description,
      }
      if pr_number:
          entry["links"] = [
              {
                  "name": f"#{pr_number}",
                  "url": f"https://github.com/apache/airflow/pull/{pr_number}",
              }
          ]
      print(yaml.dump([entry]))
  
imports: from __future__ import annotations
  import re
  import yaml
label_desc: Use image node_id 2 for calling a global function with example usage: print_entry(section, description, pr_number) without return types