Iñigo Hidalgo
02/15/2024, 9:23 AMcatalog_** in the folder base/ but I want to inject the credentials myself, not read them from my credentials files in that same base/ folder. What would be the most direct way of achieving this?Ankita Katiyar
02/15/2024, 11:06 AMoc.env to read them from the environment variables or use a custom resolver? docs link - https://docs.kedro.org/en/stable/configuration/advanced_configuration.html#how-to-use-resolvers-in-the-omegaconfigloader
If you’re trying to load it in a python script and use runtime_params: resolver and pass the credentials to OmegaConfigLoader(runtime_params=credentials) it should do the same thingIñigo Hidalgo
02/15/2024, 11:11 AMDataCatalog.from_config(credentials= { ... })
It's two steps, first getting the catalog config from configloader then instantiating the catalog. But this works for me 🙂