with pythonic resource definitions is it still possible for resources to access contextual information like the
run_id
during initialization?
c
chris
03/10/2023, 7:48 PM
you could do it by wrapping an old-style resource definition, but I think in general we’re moving away from that (in large part due to the fact that there are many places resources are used outside of a run context now)
z
Zach
03/10/2023, 7:49 PM
Sure that makes sense. It seems in most places that I'm accessing
run_id
during initialization I could refactor to take it in at runtime instead
c
chris
03/13/2023, 12:35 PM
awesome - glad that works. For cases it doesn’t, if that comes up, would be interesting to hear the situation