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

Method __init__

dask/callbacks.py:52–64  ·  view source on GitHub ↗
(
        self, start=None, start_state=None, pretask=None, posttask=None, finish=None
    )

Source from the content-addressed store, hash-verified

50 active: ClassVar[set[tuple[Callable | None, ...]]] = set()
51
52 def __init__(
53 self, start=None, start_state=None, pretask=None, posttask=None, finish=None
54 ):
55 if start:
56 self._start = start
57 if start_state:
58 self._start_state = start_state
59 if pretask:
60 self._pretask = pretask
61 if posttask:
62 self._posttask = posttask
63 if finish:
64 self._finish = finish
65
66 @property
67 def _callback(self) -> tuple[Callable | None, ...]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected