CLI - Kedro Catalog Create fails (so does Catalog list) if a dataset is defined with a ${runtime_params:<xxx>}
resolver exists, and passing --params is not permitted
#4173
Labels
Community
Issue/PR opened by the open-source community
Description
When creating or listing a catalog in Kedro that includes a dataset with a
${runtime_params:<xxx>}
resolver, it fails when --params is not provided. This results in anInterpolationResolutionError
indicating that the runtime parameter<xxx>
is not found and no default value is provided.Context
This bug prevents the successful creation or listing of the catalog when the entry in the existing catalog depends on a runtime parameter,.
Steps to Reproduce
1 - Define a dataset in catalog.yml using ${runtime_params:} resolver.
2 - Try to use kedro catalog create/list.
Expected Result
Allow users to pass --params during the catalog creation or listing process to provide runtime parameters, resolving the issue and avoiding the
InterpolationResolutionError
.Actual Result
Your Environment
The text was updated successfully, but these errors were encountered: