Hi @brewski hooks are the right way to access the session, context etc during the lifecycle of the run.
That being said we expect nodes to be pure python functions so, by design, it's not really possible to do this. My general rule is 'if you're trying to create the context directly, you've gone too far'
What are you trying to do exactly? We can help come up with a more kedrific solution