I've noticed in `pyproject.toml` there is an entry...
# questions
m
I've noticed in
pyproject.toml
there is an entry
example_pipeline
which can be True or False. It looks like it is populated by me running
kedro new
and answering yes or no to including an example. I'm confused why this is then written into
pyproject.toml
. Does
example_pipeline
do anything? What happens if I leave the example and change it to False?
đź‘€ 1
r
Hi @Marshall Krassenstein, As per my understanding when you do
kedro new --name=spaceflights --tools=viz --example=y
it adds a table [tool.kedro] with
example_pipeline
as True. This will help others in the team to use the toml file for tool (kedro) configuration. More about tool configuration here . Example pipeline is for you to get started. Thank you
m
I get that but
tools.kedro
will exist regardless of if you use the sample pipeline or not. it just has one case where
example_pipeline="True"
and the other where it is false. I'm asking if kedro uses the value of
example_pipeline
anywhere in the project after it is created. It seems like it does not
r
okay, yes I guess it is for initial creation and configuring the tool. I also think it will not be used in the project other than for metadata. @Ankita Katiyar do you think we use the info anywhere else after project creation ? Thank you
a
Hey, this was done for collecting telemetry on the new tools and example pipeline options because kedro-telemetry does not currently track the “kedro new” command. It doesn’t really affect anything on your project.
thankyou 2