You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on the add-ons a user has selected they will get one of the following example pipelines if they opt for the example in the project creation flow:
spaceflights-pandas: didn't select viz or pyspark
spaceflights-pandas-viz: selected viz
spaceflights-pyspark: selected pyspark
spaceflights-pyspark-viz: selected viz & pyspark
To agree on:
Agree with design @amandakys what combination of add-ons impact the example and how. e.g. if the user doesn't want the data structure what happens to the example.
Discussed on 31/10
If a users selects the example, but hasn't selected any add-ons we'll still keep the "data" folder structure. This the one exception were the "example" choice is more important than the "add-ons" choice, because the data folder is a different type of add-on, the only structural one compared to the others who are more dependency based. The main reason behind this is because the catalog.yml references the data folder and it would be fiddly to change it.
Any other add-ons choices to take precedence, so if the user doesn't want testing, no tests should be included in the example.
Implementation approach
Expand the project creation flow to pull all the code needed to get a functioning pipeline.
The default choice for example is no
Add a CLI flag so the user can also select the example directly when doing kedro new --example=y/n
Description
See #2506 (comment)
Depending on the add-ons a user has selected they will get one of the following example pipelines if they opt for the example in the project creation flow:
spaceflights-pandas
: didn't select viz or pysparkspaceflights-pandas-viz
: selected vizspaceflights-pyspark
: selected pysparkspaceflights-pyspark-viz
: selected viz & pysparkTo agree on:
Agree with design @amandakys what combination of add-ons impact the example and how. e.g. if the user doesn't want the
data
structure what happens to the example.Discussed on 31/10
add-ons
we'll still keep the "data" folder structure. This the one exception were the "example" choice is more important than the "add-ons" choice, because the data folder is a different type of add-on, the only structural one compared to the others who are more dependency based. The main reason behind this is because thecatalog.yml
references thedata
folder and it would be fiddly to change it.add-ons
choices to take precedence, so if the user doesn't want testing, no tests should be included in the example.Implementation approach
no
kedro new --example=y/n
The text was updated successfully, but these errors were encountered: