code: def get_airflow_version() -> tuple[int, ...]:
      match = re.match(r"(\d+)\.(\d+)\.(\d+)", version)
      if match is None:  # Not theoratically possible.
          raise RuntimeError(f"Broken Airflow version: {version}")
      return tuple(int(x) for x in match.groups())
  
file_path: airflow/airflow/providers/amazon/aws/utils/__init__.py
imports: from __future__ import annotations
  import logging
  import re
  from datetime import datetime, timezone
  from enum import Enum
  from airflow.utils.helpers import prune_dict
  from airflow.version import version
label_desc: Use image node_id 6 for calling a global function with example usage: get_airflow_version() and returns: tuple