code: def expand_all_provider_packages(
      short_doc_packages: tuple[str, ...],
      include_removed: bool = False,
      include_not_ready: bool = False,
  ) -> tuple[str, ...]:
      """In case there are "all-providers" in the list, expand the list with all providers."""
      if "all-providers" in short_doc_packages:
          packages = [
              package
              for package in short_doc_packages
              if package != "all-providers"
          ]
          packages.extend(
              get_available_packages(
                  include_removed=include_removed,
                  include_not_ready=include_not_ready,
              )
          )
          short_doc_packages = tuple(set(packages))
      return short_doc_packages
  
imports: from __future__ import annotations
  import fnmatch
  import json
  import os
  import subprocess
  import sys
  from enum import Enum
  from functools import lru_cache
  from pathlib import Path
  from typing import Any, Iterable, NamedTuple
  from airflow_breeze.global_constants import ALLOWED_PYTHON_MAJOR_MINOR_VERSIONS, PROVIDER_DEPENDENCIES, PROVIDER_RUNTIME_DATA_SCHEMA_PATH, REGULAR_DOC_PACKAGES
  from airflow_breeze.utils.console import get_console
  from airflow_breeze.utils.path_utils import AIRFLOW_PROVIDERS_ROOT, BREEZE_SOURCES_ROOT, DOCS_ROOT, GENERATED_PROVIDER_PACKAGES_DIR, PROVIDER_DEPENDENCIES_JSON_FILE_PATH
  from airflow_breeze.utils.publish_docs_helpers import _load_schema, get_provider_yaml_paths
  from airflow_breeze.utils.run_utils import run_command
  from airflow_breeze.utils.versions import get_version_tag, strip_leading_zeros_from_version
label_desc: Use image node_id 12 for calling a global function with example usage: expand_all_provider_packages(short_doc_packages, include_removed, include_not_ready) and returns: short_doc_packages