kedro
kedro copied to clipboard
Safe guard Hook Argument in `settings.py`
Description
Is your feature request related to a problem? A clear and concise description of what the problem is: "I'm always frustrated when ..."
Similar to #2768, Hooks are expected to be pass as an instance, but not a class. Beginner often fall into this trap because there are many things expected as a class in settings.py, i.e. DataCatalog, OmegaConfigLoader. Hook is an exception here.
Possible Implementation
Similar to #2768 do instance check