Skip to content

Commit

Permalink
Fix docs to work for user defined cli.py (#4086)
Browse files Browse the repository at this point in the history
* Fix docs to work for cli.py

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

* Fix docslink

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>

---------

Signed-off-by: Ankita Katiyar <ankitakatiyar2401@gmail.com>
  • Loading branch information
ankatiyar authored Aug 14, 2024
1 parent 5b9c835 commit 716890d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions docs/source/development/commands_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
)
Expand Down
2 changes: 1 addition & 1 deletion kedro/framework/project/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 716890d

Please sign in to comment.