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

Method _pretask

dask/cache.py:52–53  ·  view source on GitHub ↗
(self, key, dsk, state)

Source from the content-addressed store, hash-verified

50 dsk[key] = self.cache.data[key]
51
52 def _pretask(self, key, dsk, state):
53 self.starttimes[key] = default_timer()
54
55 def _posttask(self, key, value, dsk, state, id):
56 duration = default_timer() - self.starttimes[key]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected