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

Method _async_getitem

xarray/backends/zarr.py:281–288  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

279 return self._array[key]
280
281 async def _async_getitem(self, key):
282 if not _zarr_v3():
283 raise NotImplementedError(
284 "For lazy basic async indexing with zarr, zarr-python=>v3.0.0 is required"
285 )
286
287 async_array = self._array._async_array
288 return await async_array.getitem(key)
289
290 async def _async_oindex(self, key):
291 if not has_zarr_async_index():

Callers

nothing calls this directly

Calls 1

_zarr_v3Function · 0.85

Tested by

no test coverage detected