code: def install_local_airflow_with_eager_upgrade(
      config_params: ConfigParams,
      eager_upgrade_additional_requirements: str,
  ) -> None:
      run_command(
          [
              "pip",
              "install",
              "--root-user-action",
              "ignore",
              "-e",
              ".[all-core]",
              *eager_upgrade_additional_requirements.split(" "),
              "--upgrade",
              "--upgrade-strategy",
              "eager",
          ],
          github_actions=config_params.github_actions,
          cwd=AIRFLOW_SOURCES,
          check=True,
      )
  
imports: from __future__ import annotations
  import json
  import os
  import sys
  from dataclasses import dataclass
  from datetime import datetime
  from functools import cached_property
  from pathlib import Path
  from typing import TextIO
  import requests
  from click import Choice
  from in_container_utils import click, console, run_command
label_desc: Use image node_id 1 for calling a global function with example usage: install_local_airflow_with_eager_upgrade(config_params, eager_upgrade_additional_requirements) without return types