๐Ÿ’ญ Migration guide for config loaders โ€” kedro 0.19.11 documentation

Here's my thought on ๐Ÿ’ญ Migration guide for config loaders โ€” kedro 0.19.11 documentation


Migrating from kedro 0.18.4 to the latest version involves handling the deprecated OmegaConf loader. Switching over does not look as bad as I originally thought.

  1. installing kedro 0.18.5+
  2. set the CONFIG_LOADER_CLASS in settings.py
  3. swap out import statements
  4. config must be yaml or json
  5. getting values from config must be done with bracket __getattr__ style not with .get
  6. any Exceptions caught from Templated config loader will need to be swapped to OmegaConfig exceptions, similar to #3
  7. templated values must lead with an _
  8. Globals are handled different
  9. OmegaConfig does not support jinja2 sytax, but rather a ${variable} syntax

Note

This post is a thought. It's a short note that I make about someone else's content online. Learn more about the process thoughts

This post was a thought by Waylon Walker see all my thoughts at https://waylonwalker.com/thoughts