Method called as the default scheduler for a collection. Parameters ---------- dsk : The task graph. keys : Key(s) corresponding to the desired data. **kwargs : Additional arguments. Returns -------
(
self,
dsk: Graph,
keys: Sequence[Key] | Key,
**kwargs: Any,
)
| 35 | """Protocol defining the signature of a ``__dask_scheduler__`` callable.""" |
| 36 | |
| 37 | def __call__( |
| 38 | self, |
| 39 | dsk: Graph, |
| 40 | keys: Sequence[Key] | Key, |
| 41 | **kwargs: Any, |
| 42 | ) -> Any: |
| 43 | """Method called as the default scheduler for a collection. |
| 44 | |
| 45 | Parameters |
| 46 | ---------- |
| 47 | dsk : |
| 48 | The task graph. |
| 49 | keys : |
| 50 | Key(s) corresponding to the desired data. |
| 51 | **kwargs : |
| 52 | Additional arguments. |
| 53 | |
| 54 | Returns |
| 55 | ------- |
| 56 | Any |
| 57 | Result(s) associated with `keys` |
| 58 | |
| 59 | """ |
| 60 | raise NotImplementedError("Inheriting class must implement this method.") |
| 61 | |
| 62 | |
| 63 | class PostPersistCallable(Protocol[CollType_co]): |
nothing calls this directly
no outgoing calls
no test coverage detected