j c h a r l e s

j c h a r l e s

12/13/2021, 10:43 PM
I'm trying to find an example of how to use credentials for a kedro project. Where is the recommended place to initialize something like an api client for pipelines?
from kedro.config import ConfigLoader, MissingConfigException

conf_paths = ["conf/base", "conf/local"]
conf_loader = ConfigLoader(conf_paths)

    credentials = conf_loader.get("credentials*", "credentials*/**")
except MissingConfigException:
    credentials = {}