Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update on credentials.md #2787

Merged
merged 12 commits into from
Aug 26, 2023
4 changes: 2 additions & 2 deletions docs/source/configuration/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The following examples all use the default `ConfigLoader` class.
from kedro.config import ConfigLoader
from kedro.framework.project import settings

conf_path = str(project_path / settings.CONF_SOURCE)
conf_path = f"{project_path}/{settings.CONF_SOURCE}"
astrojuanlu marked this conversation as resolved.
Show resolved Hide resolved
conf_loader = ConfigLoader(conf_source=conf_path)
credentials = conf_loader["credentials"]
```
Expand All @@ -28,7 +28,7 @@ Calling `conf_loader[key]` in the example above throws a `MissingConfigException
from kedro.config import ConfigLoader, MissingConfigException
from kedro.framework.project import settings

conf_path = str(project_path / settings.CONF_SOURCE)
conf_path = f"{project_path}/{settings.CONF_SOURCE}"
conf_loader = ConfigLoader(conf_source=conf_path)

try:
Expand Down