[DataCatalog2.0]: Move config validation to the CatalogConfigResolver
init
#4188
Labels
Issue: Feature Request
New feature or improvement to existing feature
Milestone
Description
Currently, we resolve dataset configuration for patterns at the runtime. During the resolution, we validate the config format and raise the error in case of failure:
kedro/kedro/io/catalog_config_resolver.py
Line 133 in 53280bd
We suggest moving the config validation step to the
CatalogConfigResolver
init so that we do not allow creating a config resolver object with incorrect pattern configurations.Context
#4151 (comment)
Possible Implementation
CatalogConfigResolver
's constructor and raise an error in case an incorrect configuration is providedCatalogConfigResolver._resolve_dataset_config
method keeping only filling placeholders logicPossible Alternatives
The text was updated successfully, but these errors were encountered: