kedro icon indicating copy to clipboard operation
kedro copied to clipboard

Safe guard Hook Argument in `settings.py`

Open noklam opened this issue 2 years ago • 0 comments

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

noklam avatar Jul 05 '23 17:07 noklam