(Question) How should hooks access a projects context

I have some hooks that need access to things like project_path from the context. What is the best way to access context from inside of a hook? I am not sure if my current method is going to work with kedro 0.17.x.

I guess it’s with get_current_session() and then you can access the context:


1 Like