code: def add_dry_run_param(
      parser: Union[argparse.ArgumentParser, argparse._ActionsContainer]
  ) -> None:
      """Adds `--dry-run` argument to a specified `parser`.
  
      Args:
          parser: An instance of `ArgumentParser` or `_ActionsContainer`.
      """
      parser.add_argument(
          "--dry-run",
          default=False,
          action="store_true",
          help="If enabled, no actual training will be performed. Instead, "
          "it will be determined whether a model should be re-trained "
          "and this information will be printed as the output. The return "
          "code is a 4-bit bitmask that can also be used to determine what exactly needs "
          "to be retrained:\n"
          "- 0 means that no extensive training is required (note that the responses "
          "still might require updating by running 'rasa train').\n"
          "- 1 means the model needs to be retrained\n"
          "- 8 means the training was forced (--force argument is specified)",
      )
  
imports: import argparse
  from typing import Union
  from rasa.cli.arguments.default_arguments import add_config_param, add_stories_param, add_nlu_data_param, add_out_param, add_domain_param, add_endpoint_param
  from rasa.graph_components.providers.training_tracker_provider import TrainingTrackerProvider
  from rasa.shared.constants import DEFAULT_CONFIG_PATH, DEFAULT_DATA_PATH
label_desc: Use image node_id 8 for calling a global function with example usage: add_dry_run_param(parser) without return types