Is there some kind of execution context startup ho...
# ask-community
m
Is there some kind of execution context startup hook? Looking for a way to do some setup other than when my Python modules are imported, so I can avoid doing it in unit tests.
a
I think using a
resource
may fit your criteria, they will be booted up for each process execution context (once for whole run in in_process, each op subprocess in multi_process)
m
Ah, thank you!