Title
#beginners-need-help
antony.milne

antony.milne

11/22/2021, 1:23 PM
I can confirm having just tried this myself that this works:
class ProjectHooks:
    @hook_impl
    def before_node_run(self, node):
        print("Hello from ",  node.name)
If you're doing exactly the same as that and it's not appearing, try doing
log.info
and see if that appears. Also can confirm that the structure of the kedro project template has changed since the video you were watching was made - there's now no need to define the
run
command in your project