code: def get_parser() -> argparse.ArgumentParser:
      """Generate documentation; used by Sphinx argparse."""
      from airflow.cli.cli_parser import (
          AirflowHelpFormatter,
          _add_command,
      )
  
      parser = DefaultHelpParser(
          prog="airflow", formatter_class=AirflowHelpFormatter
      )
      subparsers = parser.add_subparsers(
          dest="subcommand", metavar="GROUP_OR_COMMAND"
      )
      for group_command in AwsAuthManager.get_cli_commands():
          _add_command(subparsers, group_command)
      return parser
  
imports: from __future__ import annotations
  import argparse
  from functools import cached_property
  from typing import TYPE_CHECKING
  from flask import session, url_for
  from airflow.cli.cli_config import CLICommand, DefaultHelpParser, GroupCommand
  from airflow.configuration import conf
  from airflow.exceptions import AirflowOptionalProviderFeatureException
  from airflow.providers.amazon.aws.auth_manager.avp.entities import AvpEntities
  from airflow.providers.amazon.aws.auth_manager.avp.facade import AwsAuthManagerAmazonVerifiedPermissionsFacade
  from airflow.providers.amazon.aws.auth_manager.cli.definition import AWS_AUTH_MANAGER_COMMANDS
  from airflow.providers.amazon.aws.auth_manager.constants import CONF_ENABLE_KEY, CONF_SECTION_NAME
  from airflow.providers.amazon.aws.auth_manager.security_manager.aws_security_manager_override import AwsSecurityManagerOverride
label_desc: Use image node_id 1 for calling a global function with example usage: get_parser() and returns: parser