Replies: 1 comment 7 replies
-
Hi @simkimsia, great question. Let me explain them in the opposite order to how you listed them since I think it's easiest to understand that way. cookiecutter.json is something from the original cookiecutter package. It provides a basic mechanism to render prompts and receive user input on the CLI, passing the received input into the project template and replacing placeholders like prompts.yml is kedro-specific. It adds extra functionality to the prompts, e.g. regex validation and explanatory text. You can see it like an extension of cookiecutter.json that adds functionality not there in cookiecutter itself. config.yml is a user-specified input file which can be used as an alternative to the interactive prompt. This is useful if you wish to create a kedro project programatically and don't want to go through the process of manually entering values. e.g. the following file
can be used with If you want to see the code that does this, it's all in starters.py. I rewrote this file fairly recently so hopefully it's reasonably easy to follow now. |
Beta Was this translation helpful? Give feedback.
-
I'm reading this https://kedro.readthedocs.io/en/stable/07_extend_kedro/05_create_kedro_starters.html#configuration-variables
and i like to ask how are
And what are the key functions that are associated with manipulating input from user via CLI or from cookiecutter.json/config.yml and then pass to cookiecutter?
Beta Was this translation helpful? Give feedback.
All reactions