-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate further inconsistencies between the CLI and Kedro API #2247
Comments
Potentially useful: https://clig.dev/ |
Copied from #2301 (comment):
|
From discussion with @jmholzer and @noklam in #2306: there's inconsistent ordering between our click definition of Proposed solution:
I doubt anyone calls Probably the same applies to |
I like the keyword-only idea and it should make things more flexible, if we shuffle the order in the future it won't be a breaking change anymore, is it correct? On 1. we may leverage the HEAP statistic to arrange them according to usage, but the same group of arguments shoul go together, i.e. I agree that 2/3 should be done in 0.19, I don't know if people are using |
Exactly. We should do the same for kedro-datasets at some point, since those are called (almost?) always with keyword arguments anyway, and it means we can reorder arguments and add new ones it however we like in the future. At the moment they're a bit of a mess.
Looking at the HEAP statistics is a great idea here although maybe there's the question about correlation vs. causation: what if some arguments are already used more frequently more frequently because of the position they appear in
👍 |
It's the 2 year anniversary of this issue and this is always the least important thing to do. I think it's easier to just close this issue and whenever we spot an inconsistency, flag it individually. |
Description
#2014 Explored inconsistencies within the CLI itself, but it stands that the CLI is tightly coupled with the API. This ticket looks at investigating any inconsistencies in this wider context with the aim of streamlining our user experience. For example:
kedro run
config.yml
supplied tokedro run
vs CLIkedro run
flagsThis list is far from exhaustive, but serves to highlight areas of consideration when conducting this investigation.
The text was updated successfully, but these errors were encountered: