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

Method __init__

dask/utils.py:2310–2312  ·  view source on GitHub ↗
(self, collect=False)

Source from the content-addressed store, hash-verified

2308 """Context manager to disable garbage collection."""
2309
2310 def __init__(self, collect=False):
2311 self.collect = collect
2312 self._gc_enabled = gc.isenabled()
2313
2314 def __enter__(self):
2315 gc.disable()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected