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

Method __enter__

dask/callbacks.py:71–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 return tuple(getattr(self, i, None) for i in fields)
70
71 def __enter__(self):
72 self._cm = add_callbacks(self)
73 self._cm.__enter__()
74 return self
75
76 def __exit__(self, *args):
77 self._cm.__exit__(*args)

Callers

nothing calls this directly

Calls 1

add_callbacksClass · 0.85

Tested by

no test coverage detected