https://kedro.org/ logo
#beginners-need-help
Title
# beginners-need-help
j

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?
Copy code
from kedro.config import ConfigLoader, MissingConfigException

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

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