MCPcopy Create free account
hub / github.com/dask/dask / initialize_worker_process

Function initialize_worker_process

dask/multiprocessing.py:263–270  ·  view source on GitHub ↗

Initialize a worker process before running any tasks in it.

(user_initializer=None)

Source from the content-addressed store, hash-verified

261
262
263def initialize_worker_process(user_initializer=None):
264 """
265 Initialize a worker process before running any tasks in it.
266 """
267 default_initializer()
268
269 if user_initializer is not None:
270 user_initializer()

Callers

nothing calls this directly

Calls 1

default_initializerFunction · 0.85

Tested by

no test coverage detected