Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydata/xarray
/ __getitem__
Method
__getitem__
xarray/core/utils.py:505–506 ·
view source on GitHub ↗
(self, key: K)
Source
from the content-addressed store, hash-verified
503
self.mapping = mapping
504
505
def
__getitem__(self, key: K) -> V:
506
return
self.mapping[key]
507
508
def
__iter__(self) -> Iterator[K]:
509
return
iter(self.mapping)
Callers
1
__getitem__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected