Create Configurable Kedro Hooks
There are two main ways to create kedro hooks, with modules and classes. Each
one still uses the same verbiage as the function/method names.
Class hooks seem a bit special as they give you a way to configure them so that they are a bit more generally useful.
What is Kedro [1]
If you are completely unsure what kedro is be sure to check out my what is kedro [2] post
Installation # [3]
.create a new environment manager of choice. Here I will use conda. Then we will install kedro from pypi.
conda create -n kedro_class_hooks -y
conda activate kedro_class_hooks # may also be source activate kedro_class_hooks or activate kedro_class_hooks
pip install kedro
Create a sample project # [4]
Kedro new # [5]
For more details check out my full post on kedro new [6]
For this post I really just want a working pipeline as fast as possible. For this I am going to use iris pipeline that is generated from the kedro new command in the cli. It’s important that you answer y to create an example pi...