https://kedro.org/ logo
Title
s

sri

11/28/2021, 3:32 PM
How to give a json as parameters instead of parameters.yml
d

datajoely

11/28/2021, 7:01 PM
So whilst we push YAML as our default Kedro is able accept catalog or parameters in any of the formats yaml, yml, json, ini, pickle, xml or properties https://kedro.readthedocs.io/en/stable/kedro.config.ConfigLoader.html
We apply the following glob patterns to pick up catalog or parameters references
python
conf_catalog = conf_loader.get('catalog*', 'catalog*/**')
conf_params = conf_loader.get('**/parameters.yml')
Oh actually as I write this I realise you can only do that for catalog as we enforce the
.yml
name for paramters
So to answer your question - I think you need to inherit and override the default config loader class, change this
conf_params
argument and then register that configloader in hooks.py