0.16.5
版本发布时间: 2020-09-09 19:21:52
kedro-org/kedro最新发布版本:0.19.9(2024-10-11 03:13:09)
Major features and improvements
- Added the following new datasets.
Type | Description | Location |
---|---|---|
email.EmailMessageDataSet |
Manage email messages using the Python standard library | kedro.extras.datasets.email |
- Added support for
pyproject.toml
to configure Kedro.pyproject.toml
is used if.kedro.yml
doesn't exist (Kedro configuration should be under[tool.kedro]
section). - Projects created with this version will have no
pipeline.py
, having been replaced byhooks.py
. - Added a set of registration hooks, as the new way of registering library components with a Kedro project:
-
register_pipelines()
, to replace_get_pipelines()
-
register_config_loader()
, to replace_create_config_loader()
-
register_catalog()
, to replace_create_catalog()
These can be defined insrc/<package-name>/hooks.py
and added to.kedro.yml
(orpyproject.toml
). The order of execution is: plugin hooks,.kedro.yml
hooks, hooks inProjectContext.hooks
.
-
- Added ability to disable auto-registered Hooks using
.kedro.yml
(orpyproject.toml
) configuration file.
Bug fixes and other changes
- Added option to run asynchronously via the Kedro CLI.
- Absorbed
.isort.cfg
settings intosetup.cfg
. -
project_name
,project_version
andpackage_name
now have to be defined in.kedro.yml
for projects generated using Kedro 0.16.5+. - Packaging a modular pipeline raises an error if the pipeline directory is empty or non-existent.