From a3ed825fd8d80ec3c505f8e4d2cd177d08f7af10 Mon Sep 17 00:00:00 2001 From: Nok Date: Thu, 23 Nov 2023 14:48:56 +0000 Subject: [PATCH] fix format Signed-off-by: Nok --- docs/source/configuration/advanced_configuration.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/configuration/advanced_configuration.md b/docs/source/configuration/advanced_configuration.md index 0d6f8d6fc9..5af825ffdb 100644 --- a/docs/source/configuration/advanced_configuration.md +++ b/docs/source/configuration/advanced_configuration.md @@ -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 ``` @@ -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:}"