Andrew Stewart
01/30/2023, 9:59 PM## from <https://kedro.readthedocs.io/en/stable/kedro_project_setup/session.html>
from kedro.framework.session import KedroSession
from kedro.framework.startup import bootstrap_project
from pathlib import Path
bootstrap_project(Path.cwd())
with KedroSession.create() as session:
    session.run()
vs
## from <https://kedro.readthedocs.io/en/stable/tutorial/package_a_project.html>
from kedro_tutorial.__main__ import main
main(
    ["--pipeline", "__default__"]
)  # or simply main() if you don't want to provide any argumentsAndrew Stewart
01/30/2023, 11:50 PMAndrew Stewart
01/30/2023, 11:50 PMconf but also pyproject.tomlAndrew Stewart
01/30/2023, 11:50 PMdatajoely
01/31/2023, 10:09 AMIvan Danov
01/31/2023, 10:15 AMpyproject.toml and in a way is only meant to be used by Kedro’s CLI internally or only during development of your project. If you intent to run your project somewhere in production, the second one is the preferred method.Andrew Stewart
01/31/2023, 4:51 PM