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

Method _callback

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

Source from the content-addressed store, hash-verified

65
66 @property
67 def _callback(self) -> tuple[Callable | None, ...]:
68 fields = ["_start", "_start_state", "_pretask", "_posttask", "_finish"]
69 return tuple(getattr(self, i, None) for i in fields)
70
71 def __enter__(self):
72 self._cm = add_callbacks(self)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected