Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pydata/xarray
/ acquire
Method
acquire
xarray/backends/locks.py:59–60 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
57
SerializableLock._locks[self.token] = self.lock
58
59
def
acquire(self, *args, **kwargs):
60
return
self.lock.acquire(*args, **kwargs)
61
62
def
release(self, *args, **kwargs):
63
return
self.lock.release(*args, **kwargs)
Callers
1
test_combined_lock_locked_with_serializable_locks
Function · 0.95
Calls
1
acquire
Method · 0.45
Tested by
1
test_combined_lock_locked_with_serializable_locks
Function · 0.76