Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Nok <[email protected]>
  • Loading branch information
noklam committed Nov 23, 2023
1 parent 483a7c9 commit a3ed825
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/source/configuration/advanced_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -299,8 +299,9 @@ Unlike a Kedro Project, when you use the `OmegaConfigLoader` directly, it assume

### Read configuration
The config loader can work without a Kedro project structure.
```sh
```bash
tree .
.
└── parameters.yml
```

Expand All @@ -321,12 +322,12 @@ config_loader = OmegaConfigLoader(conf_source=".")
{'learning_rate': 0.01, 'train_test_ratio': 0.7}
```

For the full list of features, please refer to [configuration_basics](./configuration_basics.md) and [advanced_configuration]
For the full list of features, please refer to [configuration_basics](./configuration_basics.md) and [advanced_configuration](./advanced_configuration.md)

### How to use Custom Resolvers with `OmegaConfigLoader`
You can register custom resolvers to use non-primitive type for parmaeters.

```yml
```yaml
# parameters.yml
polar_float64: "${polars: Float64}"
today: "${today:}"
Expand Down

0 comments on commit a3ed825

Please sign in to comment.