https://dagster.io/ logo
#ask-community
Title
# ask-community
b

Bennett Norman

08/10/2022, 12:49 AM
Hello! Is it possible for a resource to be initialized only once when using the multiprocessor executor?
a

alex

08/10/2022, 2:27 PM
not really - each subprocess needs its own instance of the resource objects. If you had a scheme in mind for how to make the resource available across processses you could write your own
@resource
to do so.
👍 1
b

Bennett Norman

08/10/2022, 6:44 PM
Got it thanks!