MCPcopy
hub / github.com/pydata/xarray / _protect_datatree_variables_inplace

Function _protect_datatree_variables_inplace

xarray/backends/api.py:121–123  ·  view source on GitHub ↗
(tree: DataTree, cache: bool)

Source from the content-addressed store, hash-verified

119
120
121def _protect_datatree_variables_inplace(tree: DataTree, cache: bool) -> None:
122 for node in tree.subtree:
123 _protect_dataset_variables_inplace(node.dataset, cache)
124
125
126def _finalize_store(writes, store):

Callers 1

Calls 1

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…