code: def set_validator_arguments(parser: argparse.ArgumentParser) -> None:
      parser.add_argument(
          "--fail-on-warnings",
          default=False,
          action="store_true",
          help="Fail validation on warnings and errors. "
          "If omitted only errors will result in a non zero exit code.",
      )
      add_domain_param(parser)
      add_data_param(parser)
  
file_path: rasa/rasa/cli/arguments/data.py
imports: import argparse
  from typing import Text
  from rasa.cli.arguments.default_arguments import add_nlu_data_param, add_out_param, add_data_param, add_domain_param
  from rasa.shared.constants import DEFAULT_CONVERTED_DATA_PATH
label_desc: Use image node_id 3 for calling a global function with example usage: set_validator_arguments(parser) without return types