-
Notifications
You must be signed in to change notification settings - Fork 906
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
[KED-3025] Simplify kedro new workflow into one question #1361
Comments
My opinion here is very much in favour of getting rid of the separate questions for exactly the same reason as @WaylonWalker gives here - having three different things just creates more confusion. When I first did |
So the only thing that's worth aligning on is the pesky According to PEP8 'use of underscores is discouraged' this is why we Possible solutions:
|
Just a couple of clarifications to add to this - I spent too long reading about package names a while ago and it is pretty confusing so let me share the benefits of what I learnt here:
All this is obviously very confusing and irrelevant to most users... so I'd probably just just make everything underscores, and then |
I would also like to suggest we introduce |
Just found this exists https://packaging.pypa.io/en/latest/utils.html#packaging.utils.canonicalize_name |
Even though I do sometimes specify different values for each prompt (and not just press enter 3 times and let the genie do it automatically), I agree that there's limited value/unnecessary complexity. |
I would also provide a way of doing this and giving the telemetry acknowledgement in one command. I know you can do some of that with |
Since |
Can't build a consent workflow directly into |
I would like to propose that the user journey looks like:
This workflow has the following characteristics:
|
I like this, although I'd put the "Change directory to the project generated in /Users/yetunde_dada/example-project by entering `cd /Users/yetunde_dada/example-project" last and maybe in a special colour because it's the most important part and a bit hidden at the moment. |
Two thoughts
|
One extra thought, can we introduce |
Just my personal opinions here:
Maybe not much, but what would be the benefit of not allowing them? It is used in the human-readable README.md so I don't see any reason to not allow any characters.
I presume you mean expose them in the
I think just using |
@AntonyMilneQB yeah I think that makes sense, I'm just pushing that we value the workflow of the 'CI/CD configurer' user as well as the 'person in front of their computer' user |
Yeah, it's a good point I think but should not be affected by this really. Probably we should add something to our documentation to make it clearer how to do this in CI/CD (especially given the .telemetry point). |
Run into the above with Github Actions - solved with piping "yes" to the |
I completely agree we should improve the flow with telemetry on automated workflows, but it's a completely separate issue so I'd prefer to not add it into this task and create a new ticket for it. On this @datajoely :
Why would we still want to keep those? Do expert users want to have different values for the repo name and python package instead of the default? |
Nice 💪 let's do that
I guess I just need to understand what the automatic approach will be? In the new solution what would happen if a user provides the name "anomaly detection" I think I would expect Kedro to define the following as per PEP-423 and PEP-503:
If this is the case, Kedro is making implicit assumptions and expert users should have want to explicit control over this. |
New ticket here: #1640 feel free to add more info!
Yes that's how I'm thinking about this. I get your point and will look a bit more how easy it is to maintain that functionality while getting rid of the prompts. |
Transferred from Jira ticket by @datajoely
Both internal and external survey say that they don't need to fine control of 3 separate questions
The text was updated successfully, but these errors were encountered: