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.
If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.
Description
Fixes #3857. Catalog
shallow_copy()
should use specified class type and not cast toDataCatalog
.Development notes
Initially I thought I needed to use
settings.DATA_CATALOG_CLASS
inside theshallow_copy()
method, but that resulted in import contract errors enforced in https://github.com/kedro-org/kedro/blob/main/pyproject.toml#L175. Specifically:However, thinking about it a bit more I decided it's fine not to use
settings
here, because this is not about instantiating the datacatalog but copying it. It's already instantiated in the context: https://github.com/kedro-org/kedro/blob/main/kedro/framework/context/context.py#L231Developer Certificate of Origin
We need all contributions to comply with the Developer Certificate of Origin (DCO). All commits must be signed off by including a
Signed-off-by
line in the commit message. See our wiki for guidance.If your PR is blocked due to unsigned commits, then you must follow the instructions under "Rebase the branch" on the GitHub Checks page for your PR. This will retroactively add the sign-off to all unsigned commits and allow the DCO check to pass.
Checklist
RELEASE.md
file