DEV Community

Discussion on: What Did You Learn This Week --May 8?

Collapse
 
waylonwalker profile image
Waylon Walker • Edited

This weekend I started learning kedro hooks. They are so intuitive to create its almost insane! They allow you to hook into catalog_created,pipeline_run, node_run(nouns). With a before, or after (adjective). This really reminds me of reacts lifecycle hooks, that let you hook into various state of react web components. This is going to make kedro so extendable by the community. I am super pumped to see what the community is able to do with this ability.

Example - kedro preflight

Here is one that I wrote to check if all pipeline inputs exist before the start of a run. Much of the code here is just constructing a good error message if it fails.