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

Method acquire

dask/array/tests/test_array_core.py:2336–2338  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

2334 self.release_count = 0
2335
2336 def acquire(self, *args, **kwargs):
2337 self.acquire_count += 1
2338 return self.lock.acquire(*args, **kwargs)
2339
2340 def release(self, *args, **kwargs):
2341 self.release_count += 1

Callers 1

Calls 1

acquireMethod · 0.45

Tested by

no test coverage detected