From 1852f37185aef2c500c7422639753aa5b6e2dd43 Mon Sep 17 00:00:00 2001 From: John Trammell Date: Fri, 5 Apr 2024 17:11:40 -0500 Subject: [PATCH] missing config option should error out with user prompt --- rasa/cli/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rasa/cli/data.py b/rasa/cli/data.py index 06f912168c1d..1ef00bf4e0eb 100644 --- a/rasa/cli/data.py +++ b/rasa/cli/data.py @@ -147,7 +147,7 @@ def _add_data_validate_parsers( def _build_training_data_importer(args: argparse.Namespace) -> "TrainingDataImporter": config = rasa.cli.utils.get_validated_path( - args.config, "config", DEFAULT_CONFIG_PATH, none_is_valid=True + args.config, "config", DEFAULT_CONFIG_PATH, none_is_valid=False ) # Exit the validation if the domain path is invalid