Skip to content

Commit

Permalink
Update docs/source/configuration/credentials.md
Browse files Browse the repository at this point in the history
Co-authored-by: Jo Stichbury <jo_stichbury@mckinsey.com>
  • Loading branch information
noklam and stichbury authored Aug 24, 2023
1 parent 60fa081 commit d8ee886
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/configuration/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ from pathlib import Path
from kedro.config import ConfigLoader
from kedro.framework.project import settings

conf_path = str(Path(project_path) / settings.CONF_SOURCE)
# Substitute <project_root> with the [root folder for your project](https://docs.kedro.org/en/stable/tutorial/spaceflights_tutorial.html#terminology)
conf_path = str(Path(<project_root>) / settings.CONF_SOURCE)
conf_loader = ConfigLoader(conf_source=conf_path)
credentials = conf_loader["credentials"]
```
Expand Down

0 comments on commit d8ee886

Please sign in to comment.