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

Method store

xarray/tests/test_dataset.py:264–268  ·  view source on GitHub ↗
(self, variables, *args, **kwargs)

Source from the content-addressed store, hash-verified

262 self._indexvars = set()
263
264 def store(self, variables, *args, **kwargs) -> None:
265 super().store(variables, *args, **kwargs)
266 for k, v in variables.items():
267 if isinstance(v, IndexVariable):
268 self._indexvars.add(k)
269
270 def get_variables(self) -> dict[Any, xr.Variable]:
271 def lazy_accessible(k, v) -> xr.Variable:

Callers

nothing calls this directly

Calls 3

itemsMethod · 0.80
storeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected