From 716890d1f600ebab47606ec7b58eb90016a48157 Mon Sep 17 00:00:00 2001 From: Ankita Katiyar <110245118+ankatiyar@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:07:46 +0100 Subject: [PATCH] Fix docs to work for user defined `cli.py` (#4086) * Fix docs to work for cli.py Signed-off-by: Ankita Katiyar * Fix docslink Signed-off-by: Ankita Katiyar --------- Signed-off-by: Ankita Katiyar --- docs/source/development/commands_reference.md | 3 +-- kedro/framework/project/__init__.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/source/development/commands_reference.md b/docs/source/development/commands_reference.md index 41c1fa2300..06e841479d 100644 --- a/docs/source/development/commands_reference.md +++ b/docs/source/development/commands_reference.md @@ -157,7 +157,6 @@ from kedro.framework.cli.project import ( TAG_ARG_HELP, TO_NODES_HELP, TO_OUTPUTS_HELP, - project_group, ) from kedro.framework.cli.utils import ( CONTEXT_SETTINGS, @@ -177,7 +176,7 @@ def cli(): """Command line tools for manipulating a Kedro project.""" -@project_group.command() +@cli.command() @click.option( "--from-inputs", type=str, default="", help=FROM_INPUTS_HELP, callback=split_string ) diff --git a/kedro/framework/project/__init__.py b/kedro/framework/project/__init__.py index 0e52ccd9a6..8ca08b3be8 100644 --- a/kedro/framework/project/__init__.py +++ b/kedro/framework/project/__init__.py @@ -304,7 +304,7 @@ def validate_settings() -> None: the settings module, dynaconf would silence any import error (e.g. missing dependency, missing/mislabelled pipeline), and users would instead get a cryptic error message ``Expected an instance of `ConfigLoader`, got `NoneType` instead``. - More info on the dynaconf issue: https://github.com/rochacbruno/dynaconf/issues/460 + More info on the dynaconf issue: https://github.com/dynaconf/dynaconf/issues/460 """ if PACKAGE_NAME is None: raise ValueError(