Hey! Should OmegaConf work for data catalog entrie...
# questions
r
Hey! Should OmegaConf work for data catalog entries? It works fine for parameters, but interpolation keys in the data catalog fails to resolve (
InterpolationKeyError: Interpolation key 'temp' not found
).
On
catalog.yml
I have
filepath: data/06_models/${temp}.pkl
. And in
parameters_global.yml
I have
temp: CNN
. I can reference
temp
in any parameters file, but not in the catalog.
TemplatedConfigLoader
works though.
I can live with TemplatedConfigLoader. A related question: is there any way to pass a global parameter (add to
global_dict
) using CLI?
Or, alternatively, access global_dict in a node.
j
hi @Ricardo Araújo, unfortunately in the new
OmegaConfigLoader
templating works out of the box for parameters, but not for catalog files: https://github.com/kedro-org/kedro/issues/2175
👍 1
about "is there any way to pass a global parameter (add to
global_dict
) using CLI or, alternatively, access global_dict in a node?", I'll let others chime in
👍 1