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

Function inherited_vars

xarray/core/formatting.py:1181–1182  ·  view source on GitHub ↗
(mapping: ChainMap)

Source from the content-addressed store, hash-verified

1179
1180
1181def inherited_vars(mapping: ChainMap) -> dict:
1182 return {k: v for k, v in mapping.parents.items() if k not in mapping.maps[0]}
1183
1184
1185def _datatree_node_repr(node: DataTree, root: bool) -> str:

Callers 3

_datatree_node_sectionsFunction · 0.90
inherited_coords_reprFunction · 0.85
_datatree_node_reprFunction · 0.85

Calls 1

itemsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…