-
Notifications
You must be signed in to change notification settings - Fork 903
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
Minor tech debts in the project creation flow #3264
Comments
To add to this: I think we should be adding exception handling for file and directory operations in case of issues like permission errors or files being used by another process. |
Thanks @noklam, I want to add few more to discuss:
|
CC: @noklam RE: Issue 1 - Attempted in #3426 but causes problems with cookiecutter as lists are handled as a list of options. To change the type here we'd need ton instead use a dictionary, which would affect a lot of the current logic. I'm of the opinion that it should be left as a string, what do you think? |
@AhdraMeraliQB Let's keep it as str. For the record there is an cookiecutter issue and I try to find some workaround without success, see cookiecutter/cookiecutter#1975 (comment). Previous attempt PR: #3266 |
Update: Issue 5 - Already handled. xref My suggestion: close the issue as completed. CC @noklam @DimedS @merelcht |
Thanks @AhdraMeraliQB . I am closing it now, if it turns out the last item is still an issue we can open a new ticket. |
Description
Clean out some tech debts in the new project creation flow. This ticket documents the issues I observed, it can be tackled in one PR or separately depending how many issues we found at the end.
Issue 1 -> ❌ won't be done: see discussion below
in
everywhere so eitherlist
orstr
works. It makes more sense to keep it as alist[str]
nonetheless.Issue 2 -> fixed ✅ in #3429
In the
kedro new
interactive flow, the cookiecutter argument is set with this logic.While in
kedro new --addon
, we use another logic.Issue 3 ->
addons
will be renamed totools
, so this isn't an issue anymore. -> fixed ✅addon
,add_on
,add_ons
. Particular, in the cli we usekedro new --addons
, but pyproject.toml storesadd_ons
, we should keep this consistent.Issue 4. -> fixed ✅
Issue 5 - Not relevant ❌ , see this discussion
Issue 6. -> fixed ✅ in #3429
Issue 7 -> fixed fully ✅ in #3499
FIXED partly✅ in 3342
We need to check are we providing defaults for tools and example_pipeline and is it a correct place?
Issue 8
Task List
The text was updated successfully, but these errors were encountered: