MCPcopy
hub / github.com/pydata/xarray / counting_get

Method counting_get

xarray/tests/test_dask.py:663–665  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

661 count = [0]
662
663 def counting_get(*args, **kwargs):
664 count[0] += 1
665 return dask.get(*args, **kwargs)
666
667 ds.load(scheduler=counting_get)
668

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected