MCPcopy Index your code
hub / github.com/dask/dask / start

Method start

dask/tests/test_layers.py:26–34  ·  view source on GitHub ↗
(self, scheduler)

Source from the content-addressed store, hash-verified

24 self.pattern = pattern
25
26 async def start(self, scheduler):
27 # Record the modules that have been imported when the scheduler starts
28 self.start_modules = set()
29 for mod in set(sys.modules):
30 if not mod.startswith(self.pattern):
31 self.start_modules.add(mod)
32 else:
33 # Manually remove the target library
34 sys.modules.pop(mod)
35
36
37def test_array_chunk_shape_dep():

Callers 2

test_thread_safetyFunction · 0.45

Calls 3

setClass · 0.85
popMethod · 0.80
addMethod · 0.45

Tested by

no test coverage detected