Closed deepyaman closed 1 year ago
This definitely looks like a bug, let's put it in inbox.
The easy solution IMO would be to not define docstrings under the CLI group for each of these plugins. I don't see why it's necessary.
Of course, this doesn't deal with third-party plugins (that probably followed Kedro plugin examples) and did the same, but this is also not so sinister that it matters.
@noklam Maybe it's this: https://github.com/kedro-org/kedro/blob/59064403e2590c992dceb51942f7dd9f6c97898a/kedro/framework/cli/utils.py#L119-L130
I'll look into it later...
I think this is closed unintentionally, reopen it as it is still relevant.
Partially resolved in https://github.com/kedro-org/kedro-viz/pull/1001 and https://github.com/kedro-org/kedro-plugins/pull/56; pending in https://github.com/kedro-org/kedro-plugins/pull/118
This can now be closed because all PRs addressing this have been merged 🎉
Description
If you install Kedro plugins, their descriptions show up in description when you do
kedro -h
.Context
How has this bug affected you? What were you trying to accomplish?
I was testing a new plugin I was writing, noticed the behavior, and didn't like it. :)
Steps to Reproduce
pip install kedro-docker
kedro new
(and go through the prompt)kedro -h
Expected Result
Tell us what should happen.
"Kedro plugin for packaging a project with Docker" shouldn't be in there.
Actual Result
Tell us what happens instead.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
): 0.18.2python -V
): 3.8.13, 3.10.5