Kedro is a toolbox for production-ready data science. It uses software engineering best practices to help you create data engineering and data science pipelines that are reproducible, maintainable, and modular.
The problem with the main() method is that it currently returns an exit code, so downstream processes can't do anything with it.
Clarify this one a bit. I think these are 2 problems
main should return the session.run() - so downstream processing is possible
click generate a sys.exit() by default, and since main wrap around the CLI so it creates some issue on Databricks or even just IPython - this link explains more.
https://github.com/kedro-org/kedro-starters/blob/ef88b095119e050161dab5e593f184eaf11b1af0/pandas-iris/%7B%7B%20cookiecutter.repo_name%20%7D%7D/src/%7B%7B%20cookiecutter.python_package%20%7D%7D/__main__.py#L39-L43C10
This currently doesn't return anything