Iñigo Hidalgo
03/13/2024, 11:30 AM_path_placeholder_config:
root: <abfs://container>
signal_path: "{geography}/{technology}/{signal}/{granularity}"
model_path: ${.signal_path}/{model_name}
"{geography}__{technology}__{signal}__{granularity}__predictions":
type: xxx
path: ${_path_placeholder_config.root}/predictions/${_path_placeholder_config.signal_path}/predictions.parquet
credentials: blob_storage
write_mode: append
versioned: true
_model_object_config:
root: ${_path_placeholder_config.root}/models/${_path_placeholder_config.model_path}
versioned: true
"{geography}__{technology}__{signal}__{granularity}__{model_name}__model_obj":
type: axpo.kedro.datasets.python_object_dataset.PythonObjectBlob
credentials: blob_storage
filepath: ${_model_object_config.root}/fitted_model.pickle
versioned: ${_model_object_config.versioned}
"{geography}__{technology}__{signal}__{granularity}__{model_name}__model_obj#autogluon":
type: axpo.kedro.autogluon.autogluon_dataset.AutoGluonModelDataset
credentials: blob_storage
path: ${_model_object_config.root}/fitted_model
versioned: ${_model_object_config.versioned}
I am not 100% clear on the order of OmegaConf interpolation vs the combination of base/, dev/ environment config. If I have the above in my base/, would you expect it to be possible for me to override the _path_placeholder_config
catalog entry from local/ and have that change affect the dataset factories? I will test this myself eventually, but I would like to have a clearer understanding of the order of operations before I fully commit to building out this sort of structure.Nok Lam Chan
03/13/2024, 1:19 PMIñigo Hidalgo
03/13/2024, 6:01 PMyou cannot interpolate a value from another environmentdoes this only refer to the direct interpolation i referred to above? or omegaconf custom resolvers also cannot resolve across environments?
Nok Lam Chan
03/13/2024, 6:04 PMglobals
is the only thing that works cross environment IIRC. custom resolver wouldn't work directly because everything is resolved within the same env, then a dict merge happened between the two environment.Iñigo Hidalgo
03/13/2024, 6:19 PMNok Lam Chan
03/13/2024, 6:24 PMNok Lam Chan
03/13/2024, 6:25 PMRennan Haro
03/14/2024, 6:32 PM