MCPcopy Index your code
hub / github.com/pydata/xarray / __getitem__

Method __getitem__

xarray/core/datatree.py:310–311  ·  view source on GitHub ↗
(self, key: Mapping)

Source from the content-addressed store, hash-verified

308 # FIXME https://github.com/python/mypy/issues/7328
309 @overload # type: ignore[override]
310 def __getitem__(self, key: Mapping) -> Dataset: # type: ignore[overload-overlap]
311 ...
312
313 @overload
314 def __getitem__(self, key: Hashable) -> DataArray: ...

Callers

nothing calls this directly

Calls 1

__getitem__Method · 0.45

Tested by

no test coverage detected